summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-global-preferences.h
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-07-20 17:56:30 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-07-20 18:41:48 +0200
commit46d18fecc33d5a9a85f90ca2aa58d5017f3415de (patch)
tree65a38c923494db157e7824d53369fccd1c076ed8 /libnautilus-private/nautilus-global-preferences.h
parent8f2f9025939b5bbac75deee4bc2c448e22bed60c (diff)
downloadnautilus-46d18fecc33d5a9a85f90ca2aa58d5017f3415de.tar.gz
window-slot: switch to list view on search
When searching, list view is a better view given that we can see more attributes of the files, for instance, the location is a important part for discerning files in the current folder or in nested folders. For that, switch to list view while searching, and disable this behavior if the user changes the view mode while searching.
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.h')
-rw-r--r--libnautilus-private/nautilus-global-preferences.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.h b/libnautilus-private/nautilus-global-preferences.h
index c33cef534..ef9dfbfc3 100644
--- a/libnautilus-private/nautilus-global-preferences.h
+++ b/libnautilus-private/nautilus-global-preferences.h
@@ -161,6 +161,9 @@ typedef enum
/* Move to trash shorcut changed dialog */
#define NAUTILUS_PREFERENCES_SHOW_MOVE_TO_TRASH_SHORTCUT_CHANGED_DIALOG "show-move-to-trash-shortcut-changed-dialog"
+/* Switch to list view while searching */
+#define NAUTILUS_PREFERENCES_LIST_VIEW_ON_SEARCH "list-view-on-search"
+
void nautilus_global_preferences_init (void);
char *nautilus_global_preferences_get_default_folder_viewer_preference_as_iid (void);