Debian #524117
GNOME #513347

Index: gnome-panel-3.0.2/applets/wncklet/window-list.c
===================================================================
--- gnome-panel-3.0.2.orig/applets/wncklet/window-list.c	2011-04-01 08:03:02.000000000 +0200
+++ gnome-panel-3.0.2/applets/wncklet/window-list.c	2011-10-14 07:22:56.212486195 +0200
@@ -8,6 +8,8 @@
  *
  */
 
+#define WNCK_I_KNOW_THIS_IS_NOT_UPSTREAM 1
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
@@ -116,7 +118,7 @@
 		return;
   
 	tasklist->orientation = new_orient;
-
+        wnck_tasklist_set_orientation (tasklist->tasklist, new_orient);
 	tasklist_update (tasklist);
 }
 
@@ -392,6 +394,8 @@
 
 	tasklist->tasklist = wnck_tasklist_new ();
 
+        wnck_tasklist_set_orientation (tasklist->tasklist, tasklist->orientation);
+
         wnck_tasklist_set_icon_loader (WNCK_TASKLIST (tasklist->tasklist),
                                        icon_loader_func,
                                        tasklist,
