aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-24 01:49:55 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-24 01:49:55 +0800
commitd5a23e61317166119b33b9a52bcbb7502f636028 (patch)
treef1bf19c8ed6ab1ba332303faac14974b2d5d1037
parent77e62d04c7530b29b1f27c5e0bdfb005dfa16058 (diff)
downloadgsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.tar.gz
gsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.tar.zst
gsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.zip
Don't handle button events whose button number is not 1.
* e-shell-view.c (storage_set_view_box_button_release_event_cb): Don't handle button events whose button number is not 1. svn path=/trunk/; revision=11305
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-view.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 4affcd9754..6093e788d4 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-23 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-shell-view.c (storage_set_view_box_button_release_event_cb):
+ Don't handle button events whose button number is not 1.
+
2001-07-22 Ettore Perazzoli <ettore@ximian.com>
* e-local-storage.c (remove_folder): Pass the folder type to
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 2b45f5dcc0..7fc721cd97 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -269,7 +269,8 @@ storage_set_view_box_button_release_event_cb (GtkWidget *widget,
shell_view = E_SHELL_VIEW (data);
priv = shell_view->priv;
- if (button_event->window == E_PANED (priv->view_hpaned)->handle)
+ if (button_event->window == E_PANED (priv->view_hpaned)->handle
+ || button_event->button != 1)
return FALSE;
popdown_transient_folder_bar (shell_view);