[nautilus-actions] src/nact/nact-assistant-export.c: get ride of the superfluous 'name' entry field when selecting the



commit 0ef10da15cdf200b21c156414e54114d28a74269
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Nov 28 08:03:38 2011 +0100

    src/nact/nact-assistant-export.c: get ride of the superfluous 'name' entry field when selecting the folder

 ChangeLog                        |    3 +++
 src/nact/nact-assistant-export.c |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5146f14..e02c95c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-11-28 Pierre Wieser <pwieser trychlos org>
 
+	* src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
+	Get ride of the superfluous 'name' entry field when selecting the folder.
+
 	* src/nact/nact-export-ask.c (nact_export_ask_user):
 	Actually do not export the item if the user cancels the operation.
 
diff --git a/src/nact/nact-assistant-export.c b/src/nact/nact-assistant-export.c
index 37cfcea..3d5d2fc 100644
--- a/src/nact/nact-assistant-export.c
+++ b/src/nact/nact-assistant-export.c
@@ -424,7 +424,8 @@ static void
 assist_initial_load_target_folder( NactAssistantExport *window, GtkAssistant *assistant )
 {
 	GtkFileChooser *chooser = get_folder_chooser( window );
-	gtk_file_chooser_set_action( GTK_FILE_CHOOSER( chooser ), GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER );
+	gtk_file_chooser_set_action( GTK_FILE_CHOOSER( chooser ), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER );
+	gtk_file_chooser_set_create_folders( GTK_FILE_CHOOSER( chooser ), TRUE );
 	gtk_file_chooser_set_select_multiple( GTK_FILE_CHOOSER( chooser ), FALSE );
 }
 



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