forked from AuroraMiddleware/gtk
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:
parent
a427f1e82e
commit
bdb17a0890
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user