Commit 3d4b8267 authored by Mukund Sivaraman's avatar Mukund Sivaraman Committed by Mukund Sivaraman

set the filename to the original filename in case of single-page loads.

2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c: set the filename to the original
        filename in case of single-page loads.


svn path=/trunk/; revision=22333
parent e03ac7be
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: set the filename to the original
filename in case of single-page loads.
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: moved the non-interactive check out
......@@ -299,7 +299,7 @@ run (const gchar *name,
if (pages.n_pages == 1)
{
target = GIMP_PAGE_SELECTOR_TARGET_IMAGES;
target = GIMP_PAGE_SELECTOR_TARGET_LAYERS;
pages.pages = g_new0 (gint, pages.n_pages);
run_it = TRUE;
......@@ -520,10 +520,10 @@ load_image (const gchar *filename,
gimp_rgb_set (&color, 0.0, 0.0, 0.0);
if ((pages->n_pages > 1) && (target == GIMP_PAGE_SELECTOR_TARGET_LAYERS))
do_images = FALSE;
else
if ((pages->n_pages > 1) && (target == GIMP_PAGE_SELECTOR_TARGET_IMAGES))
do_images = TRUE;
else
do_images = FALSE;
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (filename));
......
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