gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r13594 - gnunet-gtk/src


From: gnunet
Subject: [GNUnet-SVN] r13594 - gnunet-gtk/src
Date: Sat, 6 Nov 2010 22:07:19 +0100

Author: grothoff
Date: 2010-11-06 22:07:19 +0100 (Sat, 06 Nov 2010)
New Revision: 13594

Modified:
   gnunet-gtk/src/download.c
Log:
suggest proper filename

Modified: gnunet-gtk/src/download.c
===================================================================
--- gnunet-gtk/src/download.c   2010-11-06 21:00:52 UTC (rev 13593)
+++ gnunet-gtk/src/download.c   2010-11-06 21:07:19 UTC (rev 13594)
@@ -66,10 +66,8 @@
              strcat (buf, DIR_SEPARATOR_STR);
              strcat (buf, dc->filename);
            }
-         /* sadly, this does not quite work in current GTK, GTK just
-            ignores the filename if the file does not yet exist */
-         gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (ad),
-                                        buf);
+         gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (ad),
+                                           buf);
        }
     }
   if (GTK_RESPONSE_OK != gtk_dialog_run (GTK_DIALOG (ad)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]