Author: olivier
Date: 2008-11-08 17:28:50 +0000 (Sat, 08 Nov 2008)
New Revision: 28669

Modified:
   xfwm4/trunk/ChangeLog
   xfwm4/trunk/src/settings.c
Log:
        * src/settings.c: Do not display warnings for "workspace_names", for
          real this time... 

Modified: xfwm4/trunk/ChangeLog
===================================================================
--- xfwm4/trunk/ChangeLog       2008-11-08 17:19:10 UTC (rev 28668)
+++ xfwm4/trunk/ChangeLog       2008-11-08 17:28:50 UTC (rev 28669)
@@ -1,5 +1,10 @@
 2008-11-08  olivier
 
+       * src/settings.c: Do not display warnings for "workspace_names", for
+         real this time... 
+
+2008-11-08  olivier
+
        * settings-dialogs/workspace-settings.c: Fix workspaces names not being
          set in the workspace settings GUI.
 

Modified: xfwm4/trunk/src/settings.c
===================================================================
--- xfwm4/trunk/src/settings.c  2008-11-08 17:19:10 UTC (rev 28668)
+++ xfwm4/trunk/src/settings.c  2008-11-08 17:28:50 UTC (rev 28669)
@@ -1138,8 +1138,7 @@
                     set_placement_mode (screen_info, g_value_get_string 
(value));
                 }
                 else if ((!strcmp (name, "title_shadow_active"))
-                      || (!strcmp (name, "title_shadow_inactive"))
-                      || (!strcmp (name, "workspace_names")))
+                      || (!strcmp (name, "title_shadow_inactive")))
                 {
                     /* These properties are not configurable via xfconf */
                 }
@@ -1378,7 +1377,14 @@
                 }
                 break;
             default:
-                g_warning("The type of property '%s' is not supported", 
property_name);
+                if (!strcmp (name, "workspace_names"))
+                {
+                    /* These properties are not configurable via xfconf */
+                }
+                else
+                {
+                    g_warning("The property '%s' is not supported", 
property_name);
+                }
                 break;
         }
     }

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

Reply via email to