diff options
author | Damon Chaplin <damon@ximian.com> | 2001-08-18 10:49:40 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-08-18 10:49:40 +0800 |
commit | e66c822c869dbede237233b95f8af2c3315d71d7 (patch) | |
tree | 912a01e94eacbac96efe476b981913a96194a407 /mail/mail-display.c | |
parent | f36d551daf3dddfe266d712c91d5cfbc1476eef7 (diff) | |
download | gsoc2013-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/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 4 |
1 files changed, 4 insertions, 0 deletions
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")); |