summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-10 07:45:12 -0700
committerStefano Karapetsas <[email protected]>2013-04-10 07:45:12 -0700
commit76761001bf64a4283abb90eb9d1fd6c50b1efead (patch)
tree7ae57d216f74fd92bc5dd65e38030cfcd7f73211
parentf4a927c268231fdd6b5a333d0c547b46a11af858 (diff)
parentbc06c2f782116e70b9e342de422273b618217748 (diff)
downloadmate-panel-76761001bf64a4283abb90eb9d1fd6c50b1efead.tar.bz2
mate-panel-76761001bf64a4283abb90eb9d1fd6c50b1efead.tar.xz
Merge pull request #96 from muesli4/master
[Bugfix] wrap-workspaces option in workspace-switcher now persistent over sessions
-rw-r--r--applets/wncklet/workspace-switcher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 89880e7a..cda52708 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -476,7 +476,6 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
GtkActionGroup* action_group;
gchar* ui_path;
gboolean display_names;
- gboolean wrap_workspaces;
pager = g_new0(PagerData, 1);
@@ -492,7 +491,7 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
display_names = g_settings_get_boolean(pager->settings, "display-workspace-names");
- wrap_workspaces = g_settings_get_boolean(pager->settings, "wrap-workspaces");
+ pager->wrap_workspaces = g_settings_get_boolean(pager->settings, "wrap-workspaces");
if (display_names)
{