Debian #524117
GNOME #513347

Index: gnome-panel-2.91.91/applets/wncklet/window-list.c
===================================================================
--- gnome-panel-2.91.91.orig/applets/wncklet/window-list.c	2011-02-24 01:58:30.000000000 +0100
+++ gnome-panel-2.91.91/applets/wncklet/window-list.c	2011-03-21 15:06:43.203985000 +0100
@@ -8,6 +8,8 @@
  *
  */
 
+#define WNCK_I_KNOW_THIS_IS_NOT_UPSTREAM 1
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
@@ -119,7 +121,7 @@ applet_change_orient (PanelApplet
 		return;
   
 	tasklist->orientation = new_orient;
-
+        wnck_tasklist_set_orientation (tasklist->tasklist, new_orient);
 	tasklist_update (tasklist);
 }
 
@@ -493,6 +495,8 @@ window_list_applet_fill (PanelApplet *ap
 
 	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,
