From d5a23e61317166119b33b9a52bcbb7502f636028 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 23 Jul 2001 17:49:55 +0000 Subject: 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 --- shell/ChangeLog | 5 +++++ shell/e-shell-view.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'shell') 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 + + * 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 * 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); -- cgit