aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"));