[nautilus/antoniof/someloveforeel: 4/4] notebook: Use common check for search schema



commit 605943fe8cc7f0269eb48d7dc8b213b8cd2eb4e1
Author: António Fernandes <antoniof gnome org>
Date:   Tue Feb 6 17:06:52 2018 +0000

    notebook: Use common check for search schema
    
    eel_uri_is_search() is what we use elsewhere for this.

 src/nautilus-notebook.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]