Properly show name of image graph source image

svn path=/trunk/; revision=28077
This commit is contained in:
Martin Nordholts 2009-02-28 10:11:48 +00:00
parent 8f46115c1e
commit 0c17e790a7
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-02-28 Martin Nordholts <martinn@svn.gnome.org>
* app/actions/debug-commands.c: Properly show name of image graph
source image
2009-02-26 Sven Neumann <sven@gimp.org>
* app/gui/gui.c (gui_restore_callback): connect to changes of the

View File

@ -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 @@ debug_show_image_graph (GimpImage *source_image)
/* 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),