From b1d36fe27d0434b98176a670ca67e64e5d4bb11e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 28 Oct 2001 04:47:51 +0000 Subject: Return 1 from the button_release event. 2001-10-28 Christopher James Lahey * gal/util/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event): Return 1 from the button_release event. svn path=/trunk/; revision=14273 --- e-util/e-text-event-processor-emacs-like.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c index 53d92abbf5..29f1dcfe86 100644 --- a/e-util/e-text-event-processor-emacs-like.c +++ b/e-util/e-text-event-processor-emacs-like.c @@ -182,16 +182,13 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro if (event->button.button == 1) { command.action = E_TEP_UNGRAB; command.time = event->button.time; - gtk_signal_emit_by_name (GTK_OBJECT (tep), "command", &command); - command.time = event->button.time; tep_el->mouse_down = FALSE; - command.action = E_TEP_NOP; } else if (event->button.button == 2) { command.action = E_TEP_MOVE; command.position = E_TEP_VALUE; command.value = event->button.position; command.time = event->button.time; - gtk_signal_emit_by_name (GTK_OBJECT (tep), "command", &command); + gtk_signal_emit_by_name (GTK_OBJECT (tep), "command", &command); command.action = E_TEP_GET_SELECTION; command.position = E_TEP_SELECTION; -- cgit