mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 13:40:31 +00:00
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.
This commit is contained in:
parent
24174e5528
commit
88edada0d9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user