[gnome-builder] project-tree: allow directories for Open With



commit ea710e7cac761953d0edeb50c2e6d808be4d7b43
Author: Christian Hergert <chergert redhat com>
Date:   Thu Apr 25 17:30:25 2019 -0700

    project-tree: allow directories for Open With
    
    It's not always useful, but we need it for some use-cases like 'ls'.

 src/plugins/project-tree/gbp-project-tree-pane-actions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/project-tree/gbp-project-tree-pane-actions.c 
b/src/plugins/project-tree/gbp-project-tree-pane-actions.c
index 21237fef4..8ff256d92 100644
--- a/src/plugins/project-tree/gbp-project-tree-pane-actions.c
+++ b/src/plugins/project-tree/gbp-project-tree-pane-actions.c
@@ -632,7 +632,7 @@ _gbp_project_tree_pane_update_actions (GbpProjectTreePane *self)
                              "enabled", is_file && !is_dir,
                              NULL);
   dzl_gtk_widget_action_set (GTK_WIDGET (self->tree), "project-tree", "open-with-hint",
-                             "enabled", is_file && !is_dir,
+                             "enabled", is_file,
                              NULL);
   dzl_gtk_widget_action_set (GTK_WIDGET (self->tree), "project-tree", "open-containing-folder",
                              "enabled", is_file,


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