Author: olivier
Date: 2008-11-23 10:43:05 +0000 (Sun, 23 Nov 2008)
New Revision: 28889

Modified:
   xfce4-settings/trunk/ChangeLog
   xfce4-settings/trunk/NEWS
   xfce4-settings/trunk/xfce4-settings-helper/workspaces.c
Log:
        * xfce4-settings-helper/workspaces.c: Fix xfce4-settings-helper not
          setting workspace count.

Modified: xfce4-settings/trunk/ChangeLog
===================================================================
--- xfce4-settings/trunk/ChangeLog      2008-11-22 23:58:00 UTC (rev 28888)
+++ xfce4-settings/trunk/ChangeLog      2008-11-23 10:43:05 UTC (rev 28889)
@@ -1,3 +1,8 @@
+2008-11-23             olivier
+
+       * xfce4-settings-helper/workspaces.c: Fix xfce4-settings-helper not
+         setting workspace count.
+
 2008-11-01             olivier
 
        * dialogs/appearance-settings/main.c, xfsettingsd/registry.c: Use

Modified: xfce4-settings/trunk/NEWS
===================================================================
--- xfce4-settings/trunk/NEWS   2008-11-22 23:58:00 UTC (rev 28888)
+++ xfce4-settings/trunk/NEWS   2008-11-23 10:43:05 UTC (rev 28889)
@@ -1,6 +1,7 @@
 4.5.90.0 (Xfce 4.6 rc1)
 
   * Allow the settings manager window to be minimized (bug 4596).
+  * Fix xfce4-settings-helper not setting workspace count.
 
 4.5.92 (Xfce 4.6 beta2)
 

Modified: xfce4-settings/trunk/xfce4-settings-helper/workspaces.c
===================================================================
--- xfce4-settings/trunk/xfce4-settings-helper/workspaces.c     2008-11-22 
23:58:00 UTC (rev 28888)
+++ xfce4-settings/trunk/xfce4-settings-helper/workspaces.c     2008-11-23 
10:43:05 UTC (rev 28889)
@@ -32,8 +32,8 @@
 
 #define WORKSPACES_CHANNEL    "xfwm4"
 #define WORKSPACE_NAMES_PROP  "/general/workspace_names"
+#define WORKSPACE_COUNT_PROP  "/general/workspace_count"
 
-
 struct _XfceWorkspacesHelper
 {
     GObject parent;
@@ -190,6 +190,7 @@
 
     xfconf_channel_set_string_list(helper->channel, WORKSPACE_NAMES_PROP,
                                    (const gchar **)names);
+    xfconf_channel_set_int(helper->channel, WORKSPACE_COUNT_PROP, 
n_workspaces);
 
     g_free(names);
 }

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to