summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-03 15:06:48 -0700
committerStefano Karapetsas <[email protected]>2013-04-03 15:06:48 -0700
commite1606750e30b8e479899ec6e287091fab78a4451 (patch)
tree68d8ff173e9a41477fa9e608e10ec6d9f75a7afa /applets
parent2ad6b13122802f9408ebac6680adfc26450fa203 (diff)
parentd82caeefd7c34bdca153c56730d4087deb554b30 (diff)
downloadmate-panel-e1606750e30b8e479899ec6e287091fab78a4451.tar.bz2
mate-panel-e1606750e30b8e479899ec6e287091fab78a4451.tar.xz
Merge pull request #86 from muesli4/master
Minor bugfix for the workspace switcher applet
Diffstat (limited to 'applets')
-rw-r--r--applets/wncklet/workspace-switcher.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 36dfe177..89880e7a 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -839,6 +839,11 @@ static void setup_dialog(GtkBuilder* builder, PagerData* pager)
/* Wrap workspaces: */
+ if (pager->wrap_workspaces_toggle)
+ {
+ /* make sure the toggle button resembles the value of wrap_workspaces */
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pager->wrap_workspaces_toggle), pager->wrap_workspaces);
+ }
g_signal_connect(G_OBJECT(pager->wrap_workspaces_toggle), "toggled", (GCallback) wrap_workspaces_toggled, pager);