main_window_cursor_wait(summaryview->mainwin);
-/*
- mlist = item->folder->get_msg_list(item->folder, item, !update_cache);
-
- !!! NEW !!!
- USE LIST FROM CACHE, WILL NOT DISPLAY ANY MESSAGES DROPED
- BY OTHER PROGRAMS TO THE FOLDER
-*/
mlist = folder_item_get_msg_list(item);
if (summaryview->folder_item->hide_read_msgs) {
case NEXTUNREADMSGDIALOG_ALWAYS:
val = alertpanel(_("No more unread messages"),
_("No unread message found. "
- "Search from the end?"),
+ "_Search from the end?"),
GTK_STOCK_YES, GTK_STOCK_NO, NULL);
break;
case NEXTUNREADMSGDIALOG_ASSUME_YES:
val = alertpanel(_("No more new messages"),
_("No new message found. "
- "Search from the end?"),
+ "_Search from the end?"),
GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (val != G_ALERTDEFAULT) return;
node = summary_find_prev_flagged_msg(summaryview, NULL,
val = alertpanel(_("No more new messages"),
_("No new message found. "
"Go to next folder?"),
- GTK_STOCK_YES, _("Search again"),
+ GTK_STOCK_YES, _("_Search again"),
GTK_STOCK_NO);
if (val == G_ALERTDEFAULT) {
g_signal_stop_emission_by_name(G_OBJECT(ctree),"key_press_event");
val = alertpanel(_("No more marked messages"),
_("No marked message found. "
- "Search from the end?"),
+ "_Search from the end?"),
GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (val != G_ALERTDEFAULT) return;
node = summary_find_prev_flagged_msg(summaryview, NULL,
val = alertpanel(_("No more marked messages"),
_("No marked message found. "
- "Search from the beginning?"),
+ "_Search from the beginning?"),
GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (val != G_ALERTDEFAULT) return;
node = summary_find_next_flagged_msg(summaryview, NULL,
val = alertpanel(_("No more labeled messages"),
_("No labeled message found. "
- "Search from the end?"),
+ "_Search from the end?"),
GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (val != G_ALERTDEFAULT) return;
node = summary_find_prev_flagged_msg(summaryview, NULL,
val = alertpanel(_("No more labeled messages"),
_("No labeled message found. "
- "Search from the beginning?"),
+ "_Search from the beginning?"),
GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (val != G_ALERTDEFAULT) return;
node = summary_find_next_flagged_msg(summaryview, NULL,
summaryview->moved--;
if (MSG_IS_COPY(msginfo->flags))
summaryview->copied--;
- procmsg_update_unread_children (msginfo, TRUE);
procmsg_msginfo_set_to_folder(msginfo, NULL);
procmsg_msginfo_unset_flags(msginfo, MSG_DELETED, MSG_MOVE | MSG_COPY);
summaryview->moved--;
if (MSG_IS_COPY(msginfo->flags))
summaryview->copied--;
- procmsg_update_unread_children (msginfo, FALSE);
procmsg_msginfo_set_to_folder(msginfo, NULL);
procmsg_msginfo_unset_flags(msginfo, MSG_MARKED, MSG_MOVE | MSG_COPY);
summaryview->moved--;
if (MSG_IS_COPY(msginfo->flags))
summaryview->copied--;
- procmsg_update_unread_children (msginfo, FALSE);
procmsg_msginfo_set_to_folder(msginfo, NULL);
procmsg_msginfo_unset_flags(msginfo, MSG_MARKED | MSG_DELETED, MSG_MOVE | MSG_COPY);
if ( aval==0 ) { /* append */
if (append_file(src, dest, TRUE) < 0)
- alertpanel_error(_("Can't save the file `%s'."), tmp);
+ alertpanel_error(_("Can't save the file '%s'."), tmp);
} else { /* overwrite */
if (copy_file(src, dest, TRUE) < 0)
- alertpanel_error(_("Can't save the file `%s'."), tmp);
+ alertpanel_error(_("Can't save the file '%s'."), tmp);
}
g_free(src);
if (!msginfo) break;
src = procmsg_get_message_file(msginfo);
if (append_file(src, dest, TRUE) < 0)
- alertpanel_error(_("Can't save the file `%s'."), tmp);
+ alertpanel_error(_("Can't save the file '%s'."), tmp);
}
g_free(src);
}
#ifndef USE_GNOMEPRINT
cmdline = input_dialog(_("Print"),
_("Enter the print command line:\n"
- "(`%s' will be replaced with file name)"),
+ "('%s' will be replaced with file name)"),
prefs_common.print_cmd);
if (!cmdline) return;
if (!(p = strchr(cmdline, '%')) || *(p + 1) != 's' ||
strchr(p + 2, '%')) {
- alertpanel_error(_("Print command line is invalid:\n`%s'"),
+ alertpanel_error(_("Print command line is invalid:\n'%s'"),
cmdline);
g_free(cmdline);
return;
summary_unthread_for_exec(summaryview);
folder_item_update_freeze();
- gtk_clist_freeze(GTK_CLIST(summaryview->ctree));
summary_execute_move(summaryview);
summary_execute_copy(summaryview);
summary_execute_delete(summaryview);
}
if (summaryview->threaded) {
+ gtk_clist_freeze(GTK_CLIST(summaryview->ctree));
summary_thread_build(summaryview);
summary_thread_init(summaryview);
+ gtk_clist_thaw(GTK_CLIST(summaryview->ctree));
}
summaryview->selected = clist->selection ?
gtk_ctree_node_moveto(ctree, summaryview->selected, -1, 0.5, 0);
- gtk_clist_thaw(clist);
-
summary_unlock(summaryview);
return TRUE;
}