forked from AuroraMiddleware/gtk
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