* src/filesel.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sat, 7 Jun 2003 14:04:03 +0000 (14:04 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sat, 7 Jun 2003 14:04:03 +0000 (14:04 +0000)
make (multi) file selection dialog work again (Claws-only)

ChangeLog.claws
configure.ac
src/filesel.c

index 55baab2..cb4cffc 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-07 [alfons]    0.9.0claws19
+
+       * src/filesel.c
+               make (multi) file selection dialog work again (Claws-only)
+
 2003-06-07 [thorsten]  0.9.0claws18
 
        * po/de.po
index 5d32928..42585dc 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws18
+EXTRA_VERSION=claws19
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 840695d..13d32c9 100644 (file)
@@ -142,7 +142,10 @@ GList *filesel_select_multiple_files(const gchar *title, const gchar *file)
                                                file);
        gtk_widget_show(filesel);
 
-       gtk_main();
+       filesel_ack = filesel_fin = FALSE;
+
+       while (filesel_fin == FALSE)
+               gtk_main_iteration();
 
        if (filesel_ack) {
                gchar *fname = NULL;
@@ -150,8 +153,8 @@ GList *filesel_select_multiple_files(const gchar *title, const gchar *file)
                list = filesel_get_multiple_filenames();
 
                if (!list) {
-                       fname = gtk_file_selection_get_filename (GTK_FILE_SELECTION(filesel));
-                       list = g_list_append (list, g_strdup(fname));
+                       fname = gtk_file_selection_get_filename(GTK_FILE_SELECTION(filesel));
+                       list = g_list_append(list, g_strdup(fname));
                }
        }