aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-08-18 10:49:40 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-08-18 10:49:40 +0800
commite66c822c869dbede237233b95f8af2c3315d71d7 (patch)
tree912a01e94eacbac96efe476b981913a96194a407 /mail
parentf36d551daf3dddfe266d712c91d5cfbc1476eef7 (diff)
downloadgsoc2013-evolution-e66c822c869dbede237233b95f8af2c3315d71d7.tar.gz
gsoc2013-evolution-e66c822c869dbede237233b95f8af2c3315d71d7.tar.zst
gsoc2013-evolution-e66c822c869dbede237233b95f8af2c3315d71d7.zip
stop signal emission so the GtkButton class method doesn't mess up the
2001-08-17 Damon Chaplin <damon@ximian.com> * mail-display.c (pixmap_press): stop signal emission so the GtkButton class method doesn't mess up the popup menu. Hopefully fixes bug #1828. svn path=/trunk/; revision=12192
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-display.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index dd33957fc7..eebd24807b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-17 Damon Chaplin <damon@ximian.com>
+
+ * mail-display.c (pixmap_press): stop signal emission so the GtkButton
+ class method doesn't mess up the popup menu. Hopefully fixes bug #1828.
+
2001-08-17 Zbigniew Chyla <cyba@gnome.pl>
* mail-search.c (mail_search_construct): Put _() instead of N_()
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 0a6631d4c7..f352476bb4 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -363,6 +363,10 @@ pixmap_press (GtkWidget *widget, GdkEventButton *event, EScrollFrame *user_data)
return TRUE;
}
+ /* Stop the signal, since we don't want the button's class method to
+ mess up our popup. */
+ gtk_signal_emit_stop_by_name (GTK_OBJECT (widget), "button_press_event");
+
part = gtk_object_get_data (GTK_OBJECT (widget), "CamelMimePart");
handler = mail_lookup_handler (gtk_object_get_data (GTK_OBJECT (widget),
"mime_type"));