aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-10-30 11:28:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-30 11:28:40 +0800
commit093a00cf2bba85c4f1f0826dde1cb500ecc415d6 (patch)
treeafd4239a5665fbdd3f3e9dd048a818295084f44e /mail/mail-session.c
parente01b1cb6625883a4db723209c743dc03abc112ef (diff)
downloadgsoc2013-evolution-093a00cf2bba85c4f1f0826dde1cb500ecc415d6.tar.gz
gsoc2013-evolution-093a00cf2bba85c4f1f0826dde1cb500ecc415d6.tar.zst
gsoc2013-evolution-093a00cf2bba85c4f1f0826dde1cb500ecc415d6.zip
Argh!!! Dont free the async op data here, the async op is still running
2001-10-30 <NotZed@Ximian.com> * subscribe-dialog.c (fe_cancel_op_foreach): Argh!!! Dont free the async op data here, the async op is still running and will access it! Just try to cancel it and mark it as cancelled (id == -1) (fe_done_subscribing): Only remove outselves from the hash table if we're not cancelled. The handle should always be set here, since this code runs in the gui thread. * message-list.c (on_cursor_activated_idle): If nothing selected/cursor not activated, then select no message. * mail-folder-cache.c (update_1folder): Make the trash count optional on EVOLUTION_COUNT_TRASH, becuase some lusers are just too stupid to understand what its for. * component-factory.c (storage_xfer_folder): Return slightly better error codes for copying folders, since its not implemented yet. * mail-vfolder.c, mail-local.c, mail-folder-cache.c, message-list.c component-factory.c, mail-ops.c, subscribe-dialog.c, mail-session.c: d() out some debug printfs, w() out some warnings. * folder-browser-ui.c (folder_browser_ui_add_message): Fix typo, Resent->Resend. svn path=/trunk/; revision=14412
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index b225c02179..b9449033eb 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -936,29 +936,29 @@ mail_session_enable_interaction (gboolean enable)
struct _pass_msg *pm;
struct _user_message_msg *um;
- printf("Gone non-interactive, checking for outstanding interactive tasks\n");
+ d(printf("Gone non-interactive, checking for outstanding interactive tasks\n"));
/* clear out pending password requests */
while ((pm = (struct _pass_msg *)e_dlist_remhead(&password_list))) {
- printf("Flushing password request : %s\n", pm->prompt);
+ d(printf("Flushing password request : %s\n", pm->prompt));
e_msgport_reply((EMsg *)pm);
}
/* destroy the current */
if (password_dialogue) {
- printf("Destroying password dialogue\n");
+ d(printf("Destroying password dialogue\n"));
gtk_object_destroy((GtkObject *)password_dialogue);
}
/* same for pending user messages */
while ((um = (struct _user_message_msg *)e_dlist_remhead(&message_list))) {
- printf("Flusing message request: %s\n", um->prompt);
+ d(printf("Flusing message request: %s\n", um->prompt));
e_msgport_reply((EMsg *)um);
}
/* and the current */
if (message_dialogue) {
- printf("Destroying message dialogue\n");
+ d(printf("Destroying message dialogue\n"));
gtk_object_destroy((GtkObject *)message_dialogue);
}
}