[gthumb] Fixed selection of the destination folder in the import dialog
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Fixed selection of the destination folder in the import dialog
- Date: Sat, 3 Sep 2011 08:06:05 +0000 (UTC)
commit 14700fed9cd0f0d8966586ae36db651c7f8a21f6
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Sep 3 10:03:06 2011 +0200
Fixed selection of the destination folder in the import dialog
Use _get_file instead of _get_current_folder_file to get the selected
folder.
[bug #657557]
.../importer/gth-import-preferences-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/importer/gth-import-preferences-dialog.c b/extensions/importer/gth-import-preferences-dialog.c
index fe45553..820bdb0 100644
--- a/extensions/importer/gth-import-preferences-dialog.c
+++ b/extensions/importer/gth-import-preferences-dialog.c
@@ -108,7 +108,7 @@ save_options (GthImportPreferencesDialog *self)
GthSubfolderFormat subfolder_format;
const char *custom_format;
- destination = gtk_file_chooser_get_current_folder_file (GTK_FILE_CHOOSER (GET_WIDGET ("destination_filechooserbutton")));
+ destination = gth_import_preferences_dialog_get_destination (self);
if (destination != NULL) {
char *uri;
@@ -476,7 +476,7 @@ gth_import_preferences_dialog_get_destination_example (GthImportPreferencesDialo
GTimeVal timeval;
GFile *destination_example;
- destination = gtk_file_chooser_get_file (GTK_FILE_CHOOSER (GET_WIDGET ("destination_filechooserbutton")));
+ destination = gth_import_preferences_dialog_get_destination (self);
if (destination == NULL)
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]