Ignore "funky" button clicks (like scroll wheel scrolls)
* mail-display.c (pixmap_press): Ignore "funky" button clicks (like scroll wheel scrolls) svn path=/trunk/; revision=9029
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2001-03-29 Dan Winship <danw@ximian.com>
|
||||
|
||||
* mail-display.c (pixmap_press): Ignore "funky" button clicks
|
||||
(like scroll wheel scrolls)
|
||||
|
||||
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* *.*: Cleaned up #includes. Remove unneccesary includes of
|
||||
|
||||
@ -314,6 +314,12 @@ pixmap_press (GtkWidget *widget, GdkEventButton *event, EScrollFrame *user_data)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (event->button != 1 && event->button != 3) {
|
||||
gtk_propagate_event (GTK_WIDGET (user_data),
|
||||
(GdkEvent *)event);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
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