summaryrefslogtreecommitdiff
path: root/src/nautilus-file-utilities.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano1618@gmail.com>2018-07-26 04:47:47 +0000
committerCarlos Soriano <csoriano1618@gmail.com>2018-07-26 04:47:47 +0000
commitbd101db9357a78e33681cd02b0e592215f7c6855 (patch)
tree1abab88db4b1189a6837b53f0235e4cdf4474fab /src/nautilus-file-utilities.c
parent2d9bd2c1e8f8d7a2e632defa06d0e8590c0c3142 (diff)
downloadnautilus-bd101db9357a78e33681cd02b0e592215f7c6855.tar.gz
file-utilities: Use proper switch/case code style
Diffstat (limited to 'src/nautilus-file-utilities.c')
-rw-r--r--src/nautilus-file-utilities.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/nautilus-file-utilities.c b/src/nautilus-file-utilities.c
index 54903e1c0..94198476d 100644
--- a/src/nautilus-file-utilities.c
+++ b/src/nautilus-file-utilities.c
@@ -1398,11 +1398,22 @@ location_settings_search_get_recursive (void)
switch (g_settings_get_enum (nautilus_preferences, "recursive-search"))
{
case NAUTILUS_SPEED_TRADEOFF_ALWAYS:
+ {
return NAUTILUS_QUERY_RECURSIVE_ALWAYS;
+ }
+ break;
+
case NAUTILUS_SPEED_TRADEOFF_LOCAL_ONLY:
+ {
return NAUTILUS_QUERY_RECURSIVE_LOCAL_ONLY;
+ }
+ break;
+
case NAUTILUS_SPEED_TRADEOFF_NEVER:
- return NAUTILUS_QUERY_RECURSIVE_NEVER;
+ {
+ return NAUTILUS_QUERY_RECURSIVE_NEVER;
+ }
+ break;
}
return NAUTILUS_QUERY_RECURSIVE_ALWAYS;