gimp r28077 - in trunk: . app/actions



Author: martinn
Date: Sat Feb 28 10:11:48 2009
New Revision: 28077
URL: http://svn.gnome.org/viewvc/gimp?rev=28077&view=rev

Log:
Properly show name of image graph source image

Modified:
   trunk/ChangeLog
   trunk/app/actions/debug-commands.c

Modified: trunk/app/actions/debug-commands.c
==============================================================================
--- trunk/app/actions/debug-commands.c	(original)
+++ trunk/app/actions/debug-commands.c	Sat Feb 28 10:11:48 2009
@@ -37,6 +37,8 @@
 #include "core/gimpprojectable.h"
 #include "core/gimpprojection.h"
 
+#include "file/file-utils.h"
+
 #include "gegl/gimp-gegl-utils.h"
 
 #include "widgets/gimpmenufactory.h"
@@ -252,7 +254,7 @@
   /* Create a new image of the result */
   tiles = gimp_buffer_to_tiles (buffer);
   new_name = g_strdup_printf ("%s GEGL graph",
-                              gimp_object_get_name (GIMP_OBJECT (source_image)));
+                              file_utils_uri_display_name (gimp_image_get_uri (source_image)));
   new_image = gimp_create_image (gimp,
                                  tile_manager_width (tiles),
                                  tile_manager_height (tiles),



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