summaryrefslogtreecommitdiff
path: root/nautilus-desktop
diff options
context:
space:
mode:
authorNeil Herald <neil.herald@gmail.com>2016-04-29 23:20:48 +0100
committerNeil Herald <neil.herald@gmail.com>2016-06-22 23:38:22 +0100
commitbdcdbe67ff051d797edc7a40f3486d0abc7a9be2 (patch)
tree1317453d7f2d982b7bc5d43fa1c0eae5335b2aa1 /nautilus-desktop
parent6ab063d474c4535821bf7065e844d2a87a45ed4d (diff)
downloadnautilus-bdcdbe67ff051d797edc7a40f3486d0abc7a9be2.tar.gz
files-view: merge action and view menus
Usability tests conducted by Gina Dobrescu have highlighted a number of issues with the toolbar menus. Users can't switch between list and grid mode with a single click, and they have struggled to find the switch between list and grid mode. Allan Day has come up with a design to address these problems. The view and action menus have been combined into a single menu, and we have added a new button to the toolbar which toggles the view mode between list and grid mode. https://bugzilla.gnome.org/show_bug.cgi?id=764632
Diffstat (limited to 'nautilus-desktop')
-rw-r--r--nautilus-desktop/nautilus-desktop-window-slot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nautilus-desktop/nautilus-desktop-window-slot.c b/nautilus-desktop/nautilus-desktop-window-slot.c
index d1c05e7fc..be834c287 100644
--- a/nautilus-desktop/nautilus-desktop-window-slot.c
+++ b/nautilus-desktop/nautilus-desktop-window-slot.c
@@ -64,4 +64,6 @@ nautilus_desktop_window_slot_init (NautilusDesktopWindowSlot *self)
/* Disable the ability to change between types of views */
action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "files-view-mode");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
+ action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "files-view-mode-toggle");
+ g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
}