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/mail-display.c | |
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/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 6 |
1 files changed, 6 insertions, 0 deletions
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")); |