diff options
Diffstat (limited to 'applets')
-rw-r--r-- | applets/wncklet/workspace-switcher.c | 5 |
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); |