aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-06-27 03:13:24 +0800
committerDan Winship <danw@src.gnome.org>2001-06-27 03:13:24 +0800
commit03d2f262c0d2094b8b4d7fdbeb45adbff0ade372 (patch)
treee4b556a805d300dc7b51a449d62dbd32356b5b27 /mail/mail-mt.c
parent1b6c44d638d882e71f0961b4b23f54d01520f237 (diff)
downloadgsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar.gz
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.tar.zst
gsoc2013-evolution-03d2f262c0d2094b8b4d7fdbeb45adbff0ade372.zip
Don't pop up a progress dialog to say "I already finished this a while
* mail-mt.c (op_status_timeout): Don't pop up a progress dialog to say "I already finished this a while ago". * component-factory.c (storage_create_folder): Pass the path prefix to folder_created so it can add it to the folder tree in the right place. * mail-callbacks.c (folder_created): Take a path prefix. svn path=/trunk/; revision=10508
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 2b0ba7f22a..b43af083d2 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -858,6 +858,11 @@ static int op_status_timeout(void *d)
data = msg->priv;
if (progress_dialogue == NULL) {
+ if (data->pc == 100) {
+ MAIL_MT_UNLOCK(mail_msg_lock);
+ return FALSE;
+ }
+
progress_dialogue = (GtkWindow *)gtk_window_new(GTK_WINDOW_DIALOG);
gtk_window_set_title(progress_dialogue, _("Evolution progress"));
gtk_window_set_policy(progress_dialogue, 0, 0, 1);