* 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 55baab21c910927ad82ee5e1b659bf7a1d0a1212..cb4cffceb2cb1dc9923b5be21035cd3002cfa195 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 5d32928ef8b73db8032a820a0ef1234281bf6f04..42585dcd48908b3f1101182047f5488ccc6b765c 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 840695d8829b59654a8a50eba4ffc1176f52bd47..13d32c93861ffa2b8e9b32fca5da1cf301ab9411 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));
                }
        }