[Xfce4-commits] <libxfce4ui:jeromeg/keyboard-shortcuts> Add some debugging information for conflict.
Jérôme Guelfucci
noreply at xfce.org
Thu Dec 20 23:30:03 CET 2012
Updating branch refs/heads/jeromeg/keyboard-shortcuts
to e5637cc58ae7b44ba0e0ff2cdc797757d23d8f05 (commit)
from b56143b76d5e25ac661252d177cb7f598abfde87 (commit)
commit e5637cc58ae7b44ba0e0ff2cdc797757d23d8f05
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Thu Dec 20 23:21:43 2012 +0100
Add some debugging information for conflict.
libxfce4kbd-private/xfce-shortcuts.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libxfce4kbd-private/xfce-shortcuts.c b/libxfce4kbd-private/xfce-shortcuts.c
index 1985ed4..ba8019e 100644
--- a/libxfce4kbd-private/xfce-shortcuts.c
+++ b/libxfce4kbd-private/xfce-shortcuts.c
@@ -114,6 +114,8 @@ xfce_shortcut_conflict_dialog (GtkWindow *parent,
{
gint j;
+ DBG ("Owner action %s is an xfwm4 action, get the string", owner_action);
+
/* We need to get the human readable string of the action name */
for (j = 0; xfwm4_shortcut_values[j].name != NULL; ++j)
if (G_UNLIKELY (g_str_equal (xfwm4_shortcut_values[j].feature,
@@ -127,6 +129,8 @@ xfce_shortcut_conflict_dialog (GtkWindow *parent,
else
owner_action_name = g_markup_escape_text (owner_action, -1);
+ DBG ("Owner action name: %s", owner_action_name);
+
if (other_action == NULL)
other_action_name = NULL;
else if (g_utf8_collate (other, "xfwm4") == 0)
More information about the Xfce4-commits
mailing list