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:
Dan Winship
2001-03-29 21:45:13 +00:00
parent 69514b2bb1
commit 399a2382b2
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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"));