aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-11 04:48:10 +0800
committerDan Winship <danw@src.gnome.org>2000-07-11 04:48:10 +0800
commit04073f3c49a4e76e271355396d0712ccf6edf1a1 (patch)
tree56411b5e5ad9e8a9576b4f04fb83f6d7bbdecdd9 /mail
parent7e747adb874fdde07eeea8aba89040c854422fb3 (diff)
downloadgsoc2013-evolution-04073f3c49a4e76e271355396d0712ccf6edf1a1.tar.gz
gsoc2013-evolution-04073f3c49a4e76e271355396d0712ccf6edf1a1.tar.zst
gsoc2013-evolution-04073f3c49a4e76e271355396d0712ccf6edf1a1.zip
kill more debugging messages
* kill more debugging messages svn path=/trunk/; revision=4050
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/component-factory.c3
-rw-r--r--mail/folder-browser.c4
-rw-r--r--mail/mail-ops.c14
4 files changed, 2 insertions, 21 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9431c7eefc..c881e7dd43 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,7 @@
2000-07-10 Dan Winship <danw@helixcode.com>
+ * kill more debugging messages
+
* mail-ops.c (real_fetch_mail): Don't multiply free dest_url.
* message-list.c (message_list_select): Update
diff --git a/mail/component-factory.c b/mail/component-factory.c
index b9c0b7d480..486955da2e 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -258,7 +258,6 @@ create_vfolder_storage (EvolutionShellComponent *shell_component)
g_string_sprintf(query, "vfolder:%s/vfolder/%s?", evolution_dir, desctext);
filter_driver_expand_option(fe, query, NULL, fo);
name = g_strdup_printf("/%s", desctext);
- printf("Adding new vfolder: %s\n", query->str);
evolution_storage_new_folder (storage, name,
"mail",
query->str,
@@ -384,7 +383,6 @@ real_create_imap_storage( gpointer user_data )
path = g_strdup_printf ("/%s", (char *)lsub->pdata[i]);
buf = g_strdup_printf ("%s/%s", source, path);
- g_print ("Adding %s\n", path);
#ifdef USE_BROKEN_THREADS
mail_op_set_message( "Adding %s", path );
@@ -504,7 +502,6 @@ real_create_news_storage( gpointer user_data )
path = g_strdup_printf ("/%s", (char *)lsub->pdata[i]);
buf = g_strdup_printf ("%s%s", source, path);
- g_print ("Adding %s\n", path);
#ifdef USE_BROKEN_THREADS
mail_op_set_message( "Adding %s", path );
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 5fa536118e..7694ab27ae 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -101,12 +101,10 @@ mail_uri_to_folder (const char *name)
} else if (!strncmp (name, "imap:", 5)) {
char *service, *ptr;
- fprintf (stderr, "\n****** name = %s ******\n", name);
service = g_strdup_printf ("%s/", name);
for (ptr = service + 7; *ptr && *ptr != '/'; ptr++);
ptr++;
*ptr = '\0';
- fprintf (stderr, "****** service = %s ******\n", service);
store = camel_session_get_store (session, service, ex);
g_free (service);
if (store) {
@@ -116,7 +114,6 @@ mail_uri_to_folder (const char *name)
for (ptr = (char *)(name + 7); *ptr && *ptr != '/'; ptr++);
if (*ptr == '/') {
if (url && url->path) {
- fprintf (stderr, "namespace = %s\n", url->path + 1);
ptr += strlen (url->path);
if (*ptr == '/')
ptr++;
@@ -128,7 +125,6 @@ mail_uri_to_folder (const char *name)
folder_name = g_strdup (ptr);
- fprintf (stderr, "getting folder: %s\n", folder_name);
folder = camel_store_get_folder (store, folder_name, TRUE, ex);
g_free (folder_name);
}
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index b4881b5a20..e8e7bf97c7 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -174,8 +174,6 @@ real_fetch_mail (gpointer user_data)
if (!strncmp (url, "mbox:", 5)) {
int tmpfd;
- printf ("moving from a local mbox\n");
-
tmpfd = open (tmp_mbox, O_RDWR | O_CREAT | O_APPEND, S_IRUSR | S_IWUSR);
if (tmpfd == -1) {
@@ -235,8 +233,6 @@ real_fetch_mail (gpointer user_data)
GPtrArray *uids;
int i;
- printf ("folder isn't searchable, performing movemail ...\n");
-
folder = camel_store_get_folder (dest_store,
"movemail", TRUE, ex);
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) {
@@ -249,7 +245,6 @@ real_fetch_mail (gpointer user_data)
for (i = 0; i < uids->len; i++) {
CamelMimeMessage *msg;
- printf("copying message %d to dest\n", i + 1);
msg = camel_folder_get_message (sourcefolder, uids->pdata[i], ex);
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) {
async_mail_exception_dialog ("Unable to read message", ex, fb);
@@ -277,7 +272,6 @@ real_fetch_mail (gpointer user_data)
async_mail_exception_dialog ("", ex, fb);
gtk_object_unref (GTK_OBJECT (sourcefolder));
} else {
- printf("we can search on this folder, performing search!\n");
folder = sourcefolder;
}
}
@@ -835,13 +829,11 @@ expunge_folder (BonoboUIHandler *uih, void *user_data, const char *path)
static void
filter_druid_clicked (FilterEditor *fe, int button, FolderBrowser *fb)
{
- printf ("closing dialog\n");
if (button == 0) {
char *user;
user = g_strdup_printf ("%s/filters.xml", evolution_dir);
filter_editor_save_rules (fe, user);
- printf ("saving filter options to '%s'\n", user);
g_free (user);
}
@@ -857,7 +849,6 @@ filter_edit (BonoboUIHandler *uih, void *user_data, const char *path)
FilterEditor *fe;
char *user, *system;
- printf ("Editing filters ...\n");
fe = filter_editor_new ();
user = g_strdup_printf ("%s/filters.xml", evolution_dir);
@@ -873,13 +864,11 @@ filter_edit (BonoboUIHandler *uih, void *user_data, const char *path)
static void
vfolder_editor_clicked(FilterEditor *fe, int button, FolderBrowser *fb)
{
- printf ("closing dialog\n");
if (button == 0) {
char *user;
user = g_strdup_printf ("%s/vfolders.xml", evolution_dir);
filter_editor_save_rules (fe, user);
- printf ("saving vfolders to '%s'\n", user);
g_free (user);
/* FIXME: this is also not the way to do this, see also
@@ -921,7 +910,6 @@ vfolder_editor_clicked(FilterEditor *fe, int button, FolderBrowser *fb)
g_string_sprintf (query, "vfolder:/%s/vfolder/%s?", evolution_dir, desctext);
filter_driver_expand_option (fe, query, NULL, fo);
name = g_strdup_printf ("/%s", desctext);
- printf ("Adding new vfolder: %s\n", query->str);
evolution_storage_new_folder (storage, name, "mail",
query->str, name + 1);
g_string_free (query, TRUE);
@@ -943,7 +931,6 @@ vfolder_edit (BonoboUIHandler *uih, void *user_data, const char *path)
FilterEditor *fe;
char *user, *system;
- printf ("Editing vfolders ...\n");
fe = filter_editor_new ();
user = g_strdup_printf ("%s/vfolders.xml", evolution_dir);
@@ -961,7 +948,6 @@ providers_config (BonoboUIHandler *uih, void *user_data, const char *path)
{
GtkWidget *pc;
- printf ("Configuring Providers ...\n");
pc = providers_config_new ();
gtk_widget_show (pc);