[libdazzle] shortcuts: more closure chain logging



commit 290be05b15769dd161d023cbe4ad91f9f5fab2de
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jun 17 18:42:44 2017 -0700

    shortcuts: more closure chain logging

 src/shortcuts/dzl-shortcut-closure-chain.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-closure-chain.c b/src/shortcuts/dzl-shortcut-closure-chain.c
index 85247c1..f778f12 100644
--- a/src/shortcuts/dzl-shortcut-closure-chain.c
+++ b/src/shortcuts/dzl-shortcut-closure-chain.c
@@ -480,8 +480,12 @@ dzl_shortcut_closure_chain_execute (DzlShortcutClosureChain *chain,
   switch (chain->type)
     {
     case DZL_SHORTCUT_CLOSURE_ACTION:
-      DZL_TRACE_MSG ("executing closure action");
-      ret |= _dzl_gtk_widget_activate_action (widget, chain->action.group, chain->action.name, 
chain->action.params);
+      DZL_TRACE_MSG ("executing closure action %s.%s",
+                     chain->action.group, chain->action.name);
+      ret |= _dzl_gtk_widget_activate_action (widget,
+                                              chain->action.group,
+                                              chain->action.name,
+                                              chain->action.params);
       break;
 
     case DZL_SHORTCUT_CLOSURE_CALLBACK:
@@ -496,7 +500,7 @@ dzl_shortcut_closure_chain_execute (DzlShortcutClosureChain *chain,
       break;
 
     case DZL_SHORTCUT_CLOSURE_COMMAND:
-      DZL_TRACE_MSG ("executing closure command");
+      DZL_TRACE_MSG ("executing closure command \"%s\"", chain->command.name);
       ret |= command_activate (chain, widget);
       break;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]