gimp r25437 - in trunk: . app/plug-in
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25437 - in trunk: . app/plug-in
- Date: Wed, 9 Apr 2008 16:37:45 +0100 (BST)
Author: mitch
Date: Wed Apr 9 16:37:45 2008
New Revision: 25437
URL: http://svn.gnome.org/viewvc/gimp?rev=25437&view=rev
Log:
2008-04-09 Michael Natterer <mitch gimp org>
* app/plug-in/plug-in-menu-path.c (plug_in_menu_path_map): enable
and improve debug output for mapped menu paths.
Modified:
trunk/ChangeLog
trunk/app/plug-in/plug-in-menu-path.c
Modified: trunk/app/plug-in/plug-in-menu-path.c
==============================================================================
--- trunk/app/plug-in/plug-in-menu-path.c (original)
+++ trunk/app/plug-in/plug-in-menu-path.c Wed Apr 9 16:37:45 2008
@@ -103,9 +103,28 @@
else
mapped_path = g_strdup (mapping->mapped_path);
-#if 0
- g_printerr ("%s: mapped %s to %s\n", G_STRFUNC,
- menu_path, mapped_path);
+#if GIMP_UNSTABLE
+ {
+ gchar *orig;
+ gchar *mapped;
+
+ if (menu_label)
+ {
+ orig = g_strdup_printf ("%s/%s", menu_path, stripped_label);
+ mapped = g_strdup_printf ("%s/%s", mapped_path, stripped_label);
+ }
+ else
+ {
+ orig = g_strdup (menu_path);
+ mapped = g_strdup (mapped_path);
+ }
+
+ g_printerr ("%s: mapped %s to %s\n", G_STRFUNC,
+ orig, mapped);
+
+ g_free (orig);
+ g_free (mapped);
+ }
#endif
g_free (stripped_label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]