[file-roller/gnome-3-8] new dialog: use correct method to get the selected directory



commit c2ed852dc661948d71a820d0b99c3fc64522ce5f
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Thu May 30 17:25:43 2013 +0100

    new dialog: use correct method to get the selected directory
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701297

 src/fr-new-archive-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-new-archive-dialog.c b/src/fr-new-archive-dialog.c
index 67a42ff..9a27fc5 100644
--- a/src/fr-new-archive-dialog.c
+++ b/src/fr-new-archive-dialog.c
@@ -344,7 +344,7 @@ fr_new_archive_dialog_get_file (FrNewArchiveDialog  *self,
        /* file */
 
        n_format = get_selected_format (self);
-       parent = gtk_file_chooser_get_current_folder_file (GTK_FILE_CHOOSER (GET_WIDGET 
("parent_filechooserbutton")));
+       parent = gtk_file_chooser_get_file (GTK_FILE_CHOOSER (GET_WIDGET ("parent_filechooserbutton")));
        if (parent == NULL) {
                GtkWidget *d;
 


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