2007-06-24 [colin] 2.9.2cvs73
[claws.git] / src / news_gtk.c
index c62d55095c34ecec1e138662c5acb73e71671f4b..00f0951e633c6461b7ed85a2c3160e52e1f38340 100644 (file)
@@ -299,7 +299,10 @@ void news_gtk_synchronise(FolderItem *item)
                gchar *name;
 
                name = trim_string(item->name, 32);
-               alertpanel_error(_("Error occurred while downloading messages in '%s'."), name);
+               if (prefs_common.no_recv_err_panel)
+                       log_error(LOG_PROTOCOL, _("Error occurred while downloading messages in '%s'."), name);
+               else
+                       alertpanel_error(_("Error occurred while downloading messages in '%s'."), name);
                g_free(name);
        }
        folder_set_ui_func(item->folder, NULL, NULL);