[gimp] Also send double-clicks on the expander to GtkTreeView



commit 85885224c300d992cf36ff20abcce4d3c3aa7910
Author: Michael Natterer <mitch gimp org>
Date:   Fri Aug 28 11:06:29 2009 +0200

    Also send double-clicks on the expander to GtkTreeView
    
    Enables quickly expanding and collpasing of branches, instead of
    disturbingly popping up the peoperties dialog.

 app/widgets/gimpcontainertreeview.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcontainertreeview.c b/app/widgets/gimpcontainertreeview.c
index 3910c9d..05414b6 100644
--- a/app/widgets/gimpcontainertreeview.c
+++ b/app/widgets/gimpcontainertreeview.c
@@ -1036,7 +1036,6 @@ gimp_container_tree_view_button_press (GtkWidget             *widget,
                                                FALSE, FALSE);
 
       if (bevent->button == 1                                     &&
-          bevent->type == GDK_BUTTON_PRESS                        &&
           gtk_tree_model_iter_has_child (tree_view->model, &iter) &&
           column == gtk_tree_view_get_expander_column (tree_view->view))
         {



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