diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-30 05:45:13 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-30 05:45:13 +0800 |
commit | 399a2382b20feeb70530d25edd76bc7a6600fc7e (patch) | |
tree | b948885ce3b360427560cf0b6baa4e84eeadb36d /mail | |
parent | 69514b2bb17ea3e7b8e498c1511818a54e2c6ba7 (diff) | |
download | gsoc2013-evolution-399a2382b20feeb70530d25edd76bc7a6600fc7e.tar.gz gsoc2013-evolution-399a2382b20feeb70530d25edd76bc7a6600fc7e.tar.zst gsoc2013-evolution-399a2382b20feeb70530d25edd76bc7a6600fc7e.zip |
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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-display.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 1a777dc27d..02de5f7462 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -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 diff --git a/mail/mail-display.c b/mail/mail-display.c index 5a405abdf2..29618cc353 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -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")); |