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
This commit is contained in:
committed by
Damon Chaplin
parent
f36d551daf
commit
e66c822c86
@@ -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_()
|
||||
|
||||
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user