1 From c34e25bc9519eee11334f30857f66a8483bd32f7 Mon Sep 17 00:00:00 2001
2 From: Ray Strode <rstrode@redhat.com>
3 Date: Thu, 01 Jul 2010 18:11:40 +0000
4 Subject: Drop up front call to pager_update
6 It's going to get called at realize time anyway,
7 and calling it early can actually be counter-productive,
8 since it checks state that may not be properly
11 https://bugzilla.gnome.org/show_bug.cgi?id=472773
12 (cherry picked from commit 819b938de2b1c1805e2dc6b69866418a361c5244)
14 diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
15 index 02d18a8..584eec2 100644
16 --- a/applets/wncklet/workspace-switcher.c
17 +++ b/applets/wncklet/workspace-switcher.c
18 @@ -541,11 +541,6 @@ workspace_switcher_applet_fill (PanelApplet *applet)
19 gtk_container_add (GTK_CONTAINER (pager->applet), pager->pager);
20 gtk_widget_show (pager->pager);
22 - /* we need to call this after the pager has been added to the
23 - * container, else it might not work in some cases in multiscreen
24 - * environments. See wnck_pager_set_orientation() doc */
25 - pager_update (pager);
27 g_signal_connect (G_OBJECT (pager->applet),
29 G_CALLBACK (applet_realized),