[gtk+] gtkplacesview: create placeholder before fetching networks



commit bdb17a089066fbd8af47b74c28c4df07f6980377
Author: Carlos Soriano <csoriano gnome org>
Date:   Sat Aug 29 20:35:10 2015 +0200

    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

 gtk/gtkplacesview.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 9289d16..15acceb 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -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",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]