replace deprecated gtk_window_set_policy
[claws.git] / src / export.c
index 7859b31a3950975af603324ff5b262e82e4f8861..bc73c9dd1cb4a3a8f16dca490d45340939553c92 100644 (file)
@@ -142,7 +142,7 @@ static void export_create(void)
        gtk_container_set_border_width(GTK_CONTAINER(window), 5);
        gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(delete_event), NULL);
        g_signal_connect(G_OBJECT(window), "key_press_event",
@@ -230,7 +230,7 @@ static void export_filesel_cb(GtkWidget *widget, gpointer data)
 {
        gchar *filename;
 
-       filename = filesel_select_file(_("Select exporting file"), NULL);
+       filename = filesel_select_file_save(_("Select exporting file"), NULL);
        if (!filename) return;
 
        if (g_getenv ("G_BROKEN_FILENAMES")) {