[gtk+] placessidebar: set Other Locations uri



commit 88edada0d90f09efba7e82639e88a154c5c2e61d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Aug 18 19:34:21 2015 -0300

    placessidebar: set Other Locations uri
    
    By assigning an URI to Other Locations item, we
    can programaticaly select it. Fixes a bug in Nautilus,
    where the Other Locations item is unselected imediately
    after being clicked.

 gtk/gtkplacessidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 0e64cd4..3049e5a 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -1305,7 +1305,7 @@ update_places (GtkPlacesSidebar *sidebar)
 
       add_place (sidebar, PLACES_OTHER_LOCATIONS,
                  SECTION_OTHER_LOCATIONS,
-                 _("Other Locations"), icon, NULL,
+                 _("Other Locations"), icon, "other-locations:///",
                  NULL, NULL, NULL, 0, _("Show other locations"));
 
       g_object_unref (icon);


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