[nautilus-actions] Cleanup code



commit ca2621de3ea782b11f950cac0e371480111c23f2
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Aug 18 14:54:41 2010 +0200

    Cleanup code

 ChangeLog                        |    4 ++++
 src/nact/nact-assistant-import.c |   31 -------------------------------
 2 files changed, 4 insertions(+), 31 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 524c461..fd6377a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-18 Pierre Wieser <pwieser trychlos org>
+
+	* src/nact/nact-assistant-import.c (assistant_apply): Cleanup code.
+
 2010-08-17 Pierre Wieser <pwieser trychlos org>
 
 	* Replace GtkLable with GtkTextView in import and export assistants.
diff --git a/src/nact/nact-assistant-import.c b/src/nact/nact-assistant-import.c
index 9b991c7..5749a40 100644
--- a/src/nact/nact-assistant-import.c
+++ b/src/nact/nact-assistant-import.c
@@ -695,37 +695,6 @@ assistant_apply( BaseAssistant *wnd, GtkAssistant *assistant )
 		}
 	}
 
-	/* import actions
-	 * getting results in the same order than uris
-	 * simultaneously building the actions list
-	 */
-#if 0
-	for( is = uris ; is ; is = is->next ){
-
-		parms.version = 1;
-		parms.uri = ( gchar * ) is->data;
-		parms.mode = mode;
-		parms.window = base_window_get_toplevel( base_application_get_main_window( BASE_APPLICATION( application )));
-		parms.messages = NULL;
-		parms.imported = NULL;
-
-		code = na_importer_import_from_uri( NA_PIVOT( updater ), &parms );
-
-		str = g_new0( ImportUriStruct, 1 );
-		str->uri = g_strdup( parms.uri );
-		str->item = parms.imported;
-		str->msg = na_core_utils_slist_duplicate( parms.messages );
-		na_core_utils_slist_free( parms.messages );
-
-		if( str->item ){
-			na_object_check_status( str->item );
-			imported_items = g_list_prepend( imported_items, str->item );
-		}
-
-		window->private->results = g_slist_prepend( window->private->results, str );
-	}
-#endif
-
 	na_core_utils_slist_free( import_parms.uris );
 	window->private->results = import_parms.results;
 



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