fixed (or broke?) single thumbnail creation

--Sven
This commit is contained in:
Sven Neumann 1999-11-27 03:11:50 +00:00
parent bf025c2701
commit 407e8008b6
2 changed files with 7 additions and 12 deletions

View File

@ -1,4 +1,10 @@
Sat Nov 27 03:51:41 MET 1999 Sat Nov 27 04:08:32 MET 1999 Sven Neuman <sven@gimp.org>
* app/fileops.c: I might break it again, but loading a single
preview seemed to be broken after Adam fixed my last change.
IMHO it works as it should now...
Sat Nov 27 03:51:41 MET 1999 Sven Neuman <sven@gimp.org>
* plug-ins/sgi/sgi.c: bail out nicely instead of aborting when * plug-ins/sgi/sgi.c: bail out nicely instead of aborting when
saving fails. saving fails.

View File

@ -1343,7 +1343,6 @@ genbutton_callback (GtkWidget *widget,
gimp_add_busy_cursors (); gimp_add_busy_cursors ();
gtk_widget_set_sensitive (GTK_WIDGET (fileload), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (fileload), FALSE);
/* new mult-file preview make: */ /* new mult-file preview make: */
{ {
GList *row = GTK_CLIST(fs->file_list)->row_list; GList *row = GTK_CLIST(fs->file_list)->row_list;
@ -1377,15 +1376,6 @@ genbutton_callback (GtkWidget *widget,
temp, NULL); temp, NULL);
} }
/* When doing multiple selections, the name
* of the first item touched with the cursor will
* become the text-field default - and we don't
* want to load that twice.
*/
if (strcmp (mfilename, filename) == 0)
{
goto next_iter;
}
if ((gimage_to_be_thumbed = file_open_image (mfilename, if ((gimage_to_be_thumbed = file_open_image (mfilename,
temp, temp,
RUN_NONINTERACTIVE))) RUN_NONINTERACTIVE)))
@ -1414,7 +1404,6 @@ genbutton_callback (GtkWidget *widget,
} }
} }
} }
next_iter:
if (mfilename) if (mfilename)
{ {
g_free (mfilename); g_free (mfilename);