[gimp/metadata-browser] app: let GimpContainerTreeView's parent class handle MOD2-click



commit 38149b32eff03fb7679a34d7c2cd12902e7a9cf7
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 7 01:01:23 2011 +0200

    app: let GimpContainerTreeView's parent class handle MOD2-click

 app/widgets/gimpcontainertreeview.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcontainertreeview.c b/app/widgets/gimpcontainertreeview.c
index 42a12a0..b1f23c6 100644
--- a/app/widgets/gimpcontainertreeview.c
+++ b/app/widgets/gimpcontainertreeview.c
@@ -1126,7 +1126,8 @@ gimp_container_tree_view_button_press (GtkWidget             *widget,
                   else if (! toggled_cell &&
                            ((bevent->state & (GDK_SHIFT_MASK   |
                                               GDK_CONTROL_MASK |
-                                              GDK_MOD1_MASK)) == 0))
+                                              GDK_MOD1_MASK    |
+                                              GDK_MOD2_MASK)) == 0))
                     {
                       /* Only activate if we're not in a toggled cell
                        * and no modifier keys are pressed



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]