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:
Georges Basile Stavracas Neto 2015-08-18 19:34:21 -03:00
parent 24174e5528
commit 88edada0d9

View File

@ -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);