[nautilus-actions] Do not import on Cancel



commit b5c2734cd47ad8771aa2488248a53a0b10ca6dbb
Author: Pierre Wieser <pwieser trychlos org>
Date:   Thu Oct 15 19:11:28 2009 +0200

    Do not import on Cancel

 src/nact/nact-assistant-import-ask.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nact/nact-assistant-import-ask.c b/src/nact/nact-assistant-import-ask.c
index c1f9aef..2fb0475 100644
--- a/src/nact/nact-assistant-import-ask.c
+++ b/src/nact/nact-assistant-import-ask.c
@@ -405,6 +405,8 @@ on_cancel_clicked( GtkButton *button, NactAssistantImportAsk *editor )
 {
 	GtkWindow *toplevel = base_window_get_toplevel( BASE_WINDOW( editor ));
 
+	editor->private->mode = IPREFS_IMPORT_NO_IMPORT;
+
 	gtk_dialog_response( GTK_DIALOG( toplevel ), GTK_RESPONSE_CLOSE );
 }
 



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