untwist file selection logic - be explicit
[claws.git] / src / mimeview.c
index 8361bf0805151979bb7fbc3d56e01e4d79827100..2705ed8a520320dc0d250c7572e6ebf596f8903e 100644 (file)
@@ -1059,7 +1059,7 @@ static void mimeview_save_all(MimeView *mimeview)
                startdir = g_strconcat(prefs_common.attach_save_dir,
                                       G_DIR_SEPARATOR_S, NULL);
 
-       dirname = filesel_select_file(_("Select destination folder"), startdir);
+       dirname = filesel_select_file_open(_("Select destination folder"), startdir);
        if (!dirname) {
                if (startdir) g_free(startdir);
                return;
@@ -1133,7 +1133,7 @@ static void mimeview_save_as(MimeView *mimeview)
        else
                filepath = g_strdup(defname);
 
-       filename = filesel_select_file(_("Save as"), filepath);
+       filename = filesel_select_file_save(_("Save as"), filepath);
        if (!filename) {
                g_free(filepath);
                return;