[Xfce4-commits] [xfce/libxfce4ui] 01/01: Don't drop startup notify hint when resetting to defaults (bug #10630)
noreply at xfce.org
noreply at xfce.org
Fri Jul 25 15:41:08 CEST 2014
This is an automated email from the git hooks/post-receive script.
jannis pushed a commit to branch master
in repository xfce/libxfce4ui.
commit 75b776202b4f21d9d87c4e87a07b6e9cb567f1f8
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date: Mon Jan 13 19:59:27 2014 +0000
Don't drop startup notify hint when resetting to defaults (bug #10630)
---
libxfce4kbd-private/xfce-shortcuts-provider.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libxfce4kbd-private/xfce-shortcuts-provider.c b/libxfce4kbd-private/xfce-shortcuts-provider.c
index 6ee4d7f..69c55b5 100644
--- a/libxfce4kbd-private/xfce-shortcuts-provider.c
+++ b/libxfce4kbd-private/xfce-shortcuts-provider.c
@@ -409,7 +409,7 @@ _xfce_shortcuts_provider_clone_default (const gchar *property,
g_return_val_if_fail (XFCE_IS_SHORTCUTS_PROVIDER (provider), TRUE);
g_return_val_if_fail (XFCONF_IS_CHANNEL (provider->priv->channel), TRUE);
- if (G_UNLIKELY (!G_IS_VALUE (value) || G_VALUE_TYPE (value) != G_TYPE_STRING))
+ if (G_UNLIKELY (!G_IS_VALUE (value)))
return FALSE;
shortcut = property + strlen (provider->priv->default_base_property) + strlen ("/");
@@ -418,7 +418,7 @@ _xfce_shortcuts_provider_clone_default (const gchar *property,
DBG ("shortcut = %s, command = %s", shortcut, command);
custom_property = g_strconcat (provider->priv->custom_base_property, "/", shortcut, NULL);
- xfconf_channel_set_string (provider->priv->channel, custom_property, command);
+ xfconf_channel_set_property (provider->priv->channel, custom_property, value);
g_free (custom_property);
return FALSE;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list