Commit 17a1f4ab authored by John Lindgren's avatar John Lindgren Committed by Matthias Clasen

Populate GtkPlacesSidebar at initialization

Previously, the "Places" sidebar was populated by the update_places()
call from within gtk_places_sidebar_style_set(). After
742a2f11, update_places() is never called
and the sidebar is never populated unless gtk_places_sidebar_add_shortcut()
happens to be called. This commit fixes this by calling update_places()
at the end of gtk_places_sidebar_init().

https://bugzilla.gnome.org/show_bug.cgi?id=709522
parent e86f979e
......@@ -3839,6 +3839,9 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
sidebar->drop_state = DROP_STATE_NORMAL;
sidebar->new_bookmark_index = -1;
/* populate the sidebar */
update_places (sidebar);
}
static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment