nautilus-view: allow folders to be opened in other app

So the user can open a folder in a different app.
This is useful in cases like IDEs or text editors
for entire projects.

https://bugzilla.gnome.org/show_bug.cgi?id=691479
parent 467c2eff
......@@ -6207,7 +6207,9 @@ real_update_actions_state (NautilusView *view)
action = g_action_map_lookup_action (G_ACTION_MAP (view_action_group),
"open-with-other-application");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
app != NULL);
app != NULL ||
(selection_count > 0 &&
nautilus_file_is_directory (NAUTILUS_FILE (selection->data))));
action = g_action_map_lookup_action (G_ACTION_MAP (view_action_group),
"open-item-new-tab");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment