[gnome-panel] Drop up front call to pager_update



commit 819b938de2b1c1805e2dc6b69866418a361c5244
Author: Ray Strode <rstrode redhat com>
Date:   Thu Jul 1 14:11:40 2010 -0400

    Drop up front call to pager_update
    
    It's going to get called at realize time anyway,
    and calling it early can actually be counter-productive,
    since it checks state that may not be properly
    initialized yet.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=472773

 applets/wncklet/workspace-switcher.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index bcb31c6..5b1735d 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -545,11 +545,6 @@ workspace_switcher_applet_fill (PanelApplet *applet)
 	gtk_container_add (GTK_CONTAINER (pager->applet), pager->pager);
 	gtk_widget_show (pager->pager);
 
-	/* we need to call this after the pager has been added to the
-	 * container, else it might not work in some cases in multiscreen
-	 * environments. See wnck_pager_set_orientation() doc */
-	pager_update (pager);
-
 	g_signal_connect (G_OBJECT (pager->applet),
 			  "realize",
 			  G_CALLBACK (applet_realized),



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