diff options
author | António Fernandes <antoniof@gnome.org> | 2018-02-06 17:06:52 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2018-02-06 22:59:21 +0000 |
commit | 605943fe8cc7f0269eb48d7dc8b213b8cd2eb4e1 (patch) | |
tree | 3a263aa94ef814161e46f3606bf7806118fe70fd /src | |
parent | 060155a5f12ddae122a0d9a254bec8d333136096 (diff) | |
download | nautilus-605943fe8cc7f0269eb48d7dc8b213b8cd2eb4e1.tar.gz |
notebook: Use common check for search schema
eel_uri_is_search() is what we use elsewhere for this.
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-notebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c index b5cc5f67c..3db3584cc 100644 --- a/src/nautilus-notebook.c +++ b/src/nautilus-notebook.c @@ -263,7 +263,7 @@ nautilus_notebook_sync_tab_label (NautilusNotebook *notebook, */ location_name = g_file_get_parse_name (location); title_name = nautilus_window_slot_get_title (slot); - if (g_str_has_prefix (location_name, EEL_SEARCH_URI)) + if (eel_uri_is_search (location_name)) { gtk_widget_set_tooltip_text (gtk_widget_get_parent (label), title_name); } |