for (cur = mlist ; cur != NULL ; cur = cur->next) {
MsgInfo * msginfo;
cnt++;
- msginfo = (MsgInfo *) cur->data;
- folder_item_move_msg(new_item, msginfo);
if (cnt%500)
statusbar_print_all(_("Moving %s to %s (%d%%)..."), src->name,
new_item->path,
100*cnt/g_slist_length(mlist));
+ msginfo = (MsgInfo *) cur->data;
+ folder_item_move_msg(new_item, msginfo);
+ if (cnt%500)
+ statusbar_pop_all();
}
/*copy prefs*/
}
debug_print("moving \"%s\" to \"%s\"\n", phys_srcpath, phys_dstpath);
if ((tmp = folder_item_move_recursive(src, dest)) == NULL) {
- alertpanel_error(_("Move failed !"));
+ alertpanel_error(_("Move failed!"));
return NULL;
}
if (src_node)
g_node_destroy(src_node);
else
- debug_print("can't remove node: is null !\n");
+ debug_print("can't remove node: it's null!\n");
/* not to much worry if remove fails, move has been done */
debug_print("updating rules ....\n");