summaryrefslogtreecommitdiff
path: root/applets/wncklet/window-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/wncklet/window-list.c')
-rw-r--r--applets/wncklet/window-list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index d38c7c3d..8dc900f4 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -115,6 +115,7 @@ static void applet_change_orient(MatePanelApplet* applet, MatePanelAppletOrient
tasklist->orientation = new_orient;
+ matewnck_tasklist_set_orientation (tasklist->tasklist, new_orient);
tasklist_update(tasklist);
}
@@ -414,6 +415,8 @@ gboolean window_list_applet_fill(MatePanelApplet* applet)
tasklist->tasklist = matewnck_tasklist_new(NULL);
+ matewnck_tasklist_set_orientation (tasklist->tasklist, tasklist->orientation);
+
matewnck_tasklist_set_icon_loader(MATEWNCK_TASKLIST(tasklist->tasklist), icon_loader_func, tasklist, NULL);
g_signal_connect(G_OBJECT(tasklist->tasklist), "destroy", G_CALLBACK(destroy_tasklist), tasklist);