GNOME Bugzilla – Bug 610789
"search:" name instead of "x-nautilus-search"
Last modified: 2013-06-16 20:59:37 UTC
Provide a accessible name 'search:' instead of present (2.29.x) 'x-nautilus-search:'
Changing component as a part of ongoing bug reorganisation work.
This is in ../src/nautilus-window.c But how can I test this?
*** Bug 684580 has been marked as a duplicate of this bug. ***
Created attachment 242879 [details] [review] Change 'x-nautilus-search:' to 'Search' on tooltips.
Review of attachment 242879 [details] [review]: The idea of the patch is fine, I have a little comment below. ::: src/nautilus-notebook.c @@ +314,3 @@ location_name = g_file_get_parse_name (location); + title_name = nautilus_window_slot_get_title (slot); + if (strncmp (location_name, "x-nautilus-search://", 20) == 0) { We have a define for the special search uri already (EEL_SEARCH_URI). You should also use g_str_has_prefix instead of strncmp().
Created attachment 242915 [details] [review] Use g_str_has_prefix() and EEL_SEARCH_URI src/nautilus-window.c also use the string "x-nautilus-search". Maybe it should be modified?
Review of attachment 242915 [details] [review]: Looks good to me. The case in NautilusWindow is a little different and can be kept that way for now.