forked from AuroraMiddleware/gtk
gtkplacesview: dont invalidate headers if not necessary
We were invalidating the headers after adding the placeholder row, but GtkListBox already update the header of that row in that case. https://bugzilla.gnome.org/show_bug.cgi?id=754150
This commit is contained in:
parent
03cd8e9558
commit
9fe9b78497
@ -880,9 +880,6 @@ update_network_state (GtkPlacesView *view)
|
||||
g_object_set_data (G_OBJECT (priv->network_placeholder),
|
||||
"is-placeholder", GINT_TO_POINTER (TRUE));
|
||||
gtk_container_add (GTK_CONTAINER (priv->listbox), priv->network_placeholder);
|
||||
|
||||
gtk_widget_show_all (GTK_WIDGET (priv->network_placeholder));
|
||||
gtk_list_box_invalidate_headers (GTK_LIST_BOX (priv->listbox));
|
||||
}
|
||||
|
||||
if (gtk_places_view_get_fetching_networks (view))
|
||||
|
Loading…
Reference in New Issue
Block a user