Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nakamuray/5926061 to your computer and use it in GitHub Desktop.
Save nakamuray/5926061 to your computer and use it in GitHub Desktop.
I don't want nautilus to search directory recursively.
--- nautilus-3.8.2/libnautilus-private/nautilus-search-directory.c.orig 2013-07-04 17:39:05.893879085 +0900
+++ nautilus-3.8.2/libnautilus-private/nautilus-search-directory.c 2013-07-04 17:39:12.226879030 +0900
@@ -171,7 +171,7 @@
nautilus_search_engine_model_set_model (model_provider, search->details->base_model);
simple_provider = nautilus_search_engine_get_simple_provider (search->details->engine);
- g_object_set (simple_provider, "recursive", TRUE, NULL);
+ g_object_set (simple_provider, "recursive", FALSE, NULL);
reset_file_list (search);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment