aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
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 /shell/e-shell-view.c
parent77e62d04c7530b29b1f27c5e0bdfb005dfa16058 (diff)
downloadgsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.tar
gsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.tar.gz
gsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.tar.bz2
gsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.tar.lz
gsoc2013-evolution-d5a23e61317166119b33b9a52bcbb7502f636028.tar.xz
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
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c3
1 files changed, 2 insertions, 1 deletions
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);