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



commit d7afdcbc3c88beadc1fd574c50737fd8ecf392ac
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 9b6b2f9..76f5a51 100644
--- a/src/fr-new-archive-dialog.c
+++ b/src/fr-new-archive-dialog.c
@@ -351,7 +351,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]