aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-28 12:47:51 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-28 12:47:51 +0800
commitb1d36fe27d0434b98176a670ca67e64e5d4bb11e (patch)
tree415e921dbe9bf07899fd8e56cbfc774c1636eee0 /e-util
parentc54af29c07131f28a819cc79521fde374283f33d (diff)
downloadgsoc2013-evolution-b1d36fe27d0434b98176a670ca67e64e5d4bb11e.tar
gsoc2013-evolution-b1d36fe27d0434b98176a670ca67e64e5d4bb11e.tar.gz
gsoc2013-evolution-b1d36fe27d0434b98176a670ca67e64e5d4bb11e.tar.bz2
gsoc2013-evolution-b1d36fe27d0434b98176a670ca67e64e5d4bb11e.tar.lz
gsoc2013-evolution-b1d36fe27d0434b98176a670ca67e64e5d4bb11e.tar.xz
gsoc2013-evolution-b1d36fe27d0434b98176a670ca67e64e5d4bb11e.tar.zst
gsoc2013-evolution-b1d36fe27d0434b98176a670ca67e64e5d4bb11e.zip
Return 1 from the button_release event.
2001-10-28 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-text-event-processor-emacs-like.c5
1 files changed, 1 insertions, 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;