From 94180dca95b05af637316ddd615c961b0dd717c8 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Sat, 8 Nov 2008 17:28:50 +0000 Subject: [PATCH] * src/settings.c: Do not display warnings for "workspace_names", for real this time... (Old svn revision: 28669) --- ChangeLog | 5 +++++ src/settings.c | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7152aa7c8..1d63b386a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/src/settings.c b/src/settings.c index 156cc8b2f..2fa3a0808 100644 --- a/src/settings.c +++ b/src/settings.c @@ -1138,8 +1138,7 @@ cb_xfwm4_channel_property_changed(XfconfChannel *channel, const gchar *property_ 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 @@ cb_xfwm4_channel_property_changed(XfconfChannel *channel, const gchar *property_ } 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; } } -- GitLab