[gtk+] gtkplacesview: dont invalidate headers if not necessary
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkplacesview: dont invalidate headers if not necessary
- Date: Sun, 30 Aug 2015 07:49:25 +0000 (UTC)
commit 9fe9b784974a83aa442ff84b3efb37864b8bc4c5
Author: Carlos Soriano <csoriano gnome org>
Date: Sat Aug 29 21:10:37 2015 +0200
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
gtk/gtkplacesview.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 9c34ffb..a508fce 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]