[Xfce4-commits] <libxfce4ui:jeromeg/keyboard-shortcuts> Add some debugging information for conflict.

Jérôme Guelfucci noreply at xfce.org
Fri Dec 28 15:54:19 CET 2012


Updating branch refs/heads/jeromeg/keyboard-shortcuts
         to 173f728069b313c4091120a81565bd4ef13fad51 (commit)
       from f30f9742e64ea5ec3b23d977b904f24799d773d6 (commit)

commit 173f728069b313c4091120a81565bd4ef13fad51
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