gtkplacesview: create placeholder before fetching networks

If not we don't show the header at all.
This was an accidental removal before commiting.

https://bugzilla.gnome.org/show_bug.cgi?id=754150
This commit is contained in:
Carlos Soriano 2015-08-29 20:35:10 +02:00
parent a427f1e82e
commit bdb17a0890

View File

@ -1022,6 +1022,7 @@ fetch_networks (GtkPlacesView *view)
g_clear_object (&priv->networks_fetching_cancellable);
priv->networks_fetching_cancellable = g_cancellable_new ();
priv->fetching_networks = TRUE;
update_network_state (view);
g_file_enumerate_children_async (network_file,
"standard::type,standard::target-uri,standard::name,standard::display-name,standard::icon",