diff options
author | Stefano Karapetsas <[email protected]> | 2013-02-07 22:41:54 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-02-07 22:41:54 +0100 |
commit | 9ba2a75711863da2653d4bd4137d8b4a18371765 (patch) | |
tree | dacfd3df4649f89aa3070e3ab997f77cdcbd5c51 /applets/wncklet | |
parent | c7b5e4978cb0b8f59e9666e97ba4b4e2d0c500a0 (diff) | |
download | mate-panel-9ba2a75711863da2653d4bd4137d8b4a18371765.tar.bz2 mate-panel-9ba2a75711863da2653d4bd4137d8b4a18371765.tar.xz |
wncklet: Set orientation in window list
Closes https://github.com/mate-desktop/mate-panel/issues/58
Diffstat (limited to 'applets/wncklet')
-rw-r--r-- | applets/wncklet/window-list.c | 3 |
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); |