2007-01-03 [colin] 2.6.1cvs99
[claws.git] / src / imap_gtk.c
index c449ef1041a04db6a91c7216286adf7daf2734bc..bd76cb20bd0b77cc93ddaa7180b1fe97468a0cb4 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2006 Hiroyuki Yamamoto & the Claws Mail Team
+ * Copyright (C) 1999-2007 Hiroyuki Yamamoto & the Claws Mail Team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -356,7 +356,7 @@ void imap_gtk_synchronise(FolderItem *item)
        gtk_widget_set_sensitive(folderview->ctree, FALSE);
        main_window_progress_on(mainwin);
        GTK_EVENTS_FLUSH();
-       if (folder_item_fetch_all_msg(item) < 0) {
+       if (item->no_select == FALSE && folder_item_fetch_all_msg(item) < 0) {
                gchar *name;
 
                name = trim_string(item->name, 32);