diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-05-15 05:42:57 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-05-15 05:42:57 +0800 |
commit | 4f400ba1f64a674467251ac7b858f302de0c2f10 (patch) | |
tree | 01405449ba900254580973875ae4ce27660f273a /importers/netscape-importer.c | |
parent | f759e8b024bab3bb365d2fc80097d7a8eed98125 (diff) | |
download | gsoc2013-evolution-4f400ba1f64a674467251ac7b858f302de0c2f10.tar.gz gsoc2013-evolution-4f400ba1f64a674467251ac7b858f302de0c2f10.tar.zst gsoc2013-evolution-4f400ba1f64a674467251ac7b858f302de0c2f10.zip |
Fix up the Importers. Remove spewage, and update for latest styles
svn path=/trunk/; revision=9802
Diffstat (limited to 'importers/netscape-importer.c')
-rw-r--r-- | importers/netscape-importer.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/importers/netscape-importer.c b/importers/netscape-importer.c index 67d20d835b..ab20d31188 100644 --- a/importers/netscape-importer.c +++ b/importers/netscape-importer.c @@ -143,7 +143,6 @@ netscape_get_integer (const char *strname) char *intstr; intstr = g_hash_table_lookup (user_prefs, strname); - g_print ("Request: %s %s.\n", strname, intstr); if (intstr == NULL) { return 0; } else { @@ -158,7 +157,6 @@ netscape_get_boolean (const char *strname) boolstr = g_hash_table_lookup (user_prefs, strname); - g_print ("Request: %s %s.\n", strname, boolstr); if (boolstr == NULL) { return FALSE; } else { @@ -195,7 +193,7 @@ netscape_get_key (const char *line) key = g_strdup (start); g_free (line_dup); - g_warning ("Found key: %s", key); + d(g_warning ("Found key: %s", key)); return key; die: @@ -245,7 +243,7 @@ netscape_get_value (const char *line) value = g_strdup (start); g_free (line_dup); - g_warning ("Found value: %s", value); + d(g_warning ("Found value: %s", value)); return value; die: @@ -396,7 +394,6 @@ netscape_import_accounts (NetscapeImporter *importer) char *serverstr, *name, *url; const char *username; - g_warning ("i: %d", i); /* Create a server for each of these */ serverstr = g_strdup_printf ("mail.imap.server.%s.", servers[i]); name = g_strconcat (serverstr, "userName", NULL); @@ -409,7 +406,6 @@ netscape_import_accounts (NetscapeImporter *importer) else url = g_strconcat ("imap://", servers[i], NULL); - g_warning ("URL: %s", url); imapsource.url = CORBA_string_dup (url); imapsource.keep_on_server = netscape_get_boolean ("mail.leave_on_server"); @@ -550,7 +546,7 @@ netscape_import_file (NetscapeImporter *importer, CORBA_Object objref; /* Do import */ - g_warning ("Importing %s as %s\n", path, folderpath); + d(g_warning ("Importing %s as %s\n", path, folderpath)); CORBA_exception_init (&ev); @@ -566,7 +562,7 @@ netscape_import_file (NetscapeImporter *importer, importer->listener = evolution_importer_listener_new (importer_cb, importer); objref = bonobo_object_corba_objref (BONOBO_OBJECT (importer->listener)); - g_print ("%s:Processing...\n", __FUNCTION__); + d(g_print ("%s:Processing...\n", __FUNCTION__)); CORBA_exception_init (&ev); GNOME_Evolution_Importer_processItem (importer->importer, objref, &ev); |