Commit 605943fe authored by António Fernandes's avatar António Fernandes 🐚

notebook: Use common check for search schema

eel_uri_is_search() is what we use elsewhere for this.
parent 060155a5
Pipeline #3072 passed with stage
in 7 minutes and 51 seconds
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment