Commit 3474308c authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

better debugging output.

2004-06-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollers.c: better debugging output.
parent 75a1716e
2004-06-16 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontrollers.c: better debugging output.
2004-06-16 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollers.c: bug fix.
......
......@@ -455,7 +455,8 @@ gimp_controller_info_event (GimpController *controller,
class_name = GIMP_CONTROLLER_GET_CLASS (controller)->name;
g_print ("Received '%s' (class '%s') controller event '%s'\n",
g_print ("Received '%s' (class '%s')\n"
" controller event '%s'\n",
controller->name, class_name,
gimp_controller_get_event_name (controller, event->any.event_id));
......@@ -463,9 +464,14 @@ gimp_controller_info_event (GimpController *controller,
if (action)
{
g_print (" handled by action '%s'\n\n", gtk_action_get_name (action));
gtk_action_activate (action);
return TRUE;
}
else
{
g_print (" not handled\n\n");
}
return FALSE;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment