NULL, ssl_manager_open_cb, 0, NULL},
#endif
{N_("/_Tools/---"), NULL, NULL, 0, "<Separator>"},
- {N_("/_Tools/Filtering debug window"), NULL, filtering_debug_window_show_cb, 0, NULL},
- {N_("/_Tools/_Log window"), "<shift><control>L", log_window_show_cb, 0, NULL},
+ {N_("/_Tools/Filtering Log"), NULL, filtering_debug_window_show_cb, 0, NULL},
+ {N_("/_Tools/Protocol _Log"), "<shift><control>L", log_window_show_cb, 0, NULL},
{N_("/_Configuration"), NULL, NULL, 0, "<Branch>"},
{N_("/_Configuration/C_hange current account"),
prefs_common.filtering_debug_cliplog,
prefs_common.filtering_debug_loglength);
if (prefs_common.enable_filtering_debug)
- log_message(LOG_DEBUG_FILTERING, _("filtering debug enabled\n"));
+ log_message(LOG_DEBUG_FILTERING, _("filtering log enabled\n"));
else
- log_message(LOG_DEBUG_FILTERING, _("filtering debug disabled\n"));
+ log_message(LOG_DEBUG_FILTERING, _("filtering log disabled\n"));
folderview->mainwin = mainwin;
folderview->summaryview = summaryview;
path = input_dialog(_("Add mailbox"),
_("Input the location of mailbox.\n"
- "If the existing mailbox is specified, it will be\n"
+ "If an existing mailbox is specified, it will be\n"
"scanned automatically."),
"Mail");
if (!path) return;
if (inc_is_active())
state |= M_INC_ACTIVE;
+ if (imap_cancel_all_enabled())
+ state |= M_INC_ACTIVE;
if (mainwin->summaryview->deleted > 0 ||
mainwin->summaryview->moved > 0 ||
{"/File/Synchronise folders", M_WANT_SYNC},
{"/File/Exit" , M_UNLOCKED},
- {"/Edit/Select thread" , M_SINGLE_TARGET_EXIST},
- {"/Edit/Delete thread" , M_SINGLE_TARGET_EXIST},
+ {"/Edit/Select thread" , M_TARGET_EXIST},
+ {"/Edit/Delete thread" , M_TARGET_EXIST},
{"/Edit/Find in current message...", M_SINGLE_TARGET_EXIST},
{"/View/Set displayed columns/in Folder list..."
_("Do you want to synchronise your folders now?"),
GTK_STOCK_CANCEL, _("+_Synchronise"), NULL) != G_ALERTALTERNATE)
return;
-
- folder_synchronise(NULL);
+
+ if (offline_ask_sync)
+ folder_synchronise(NULL);
}
static void online_switch_clicked (GtkButton *btn, gpointer data)
static void inc_cancel_cb(MainWindow *mainwin, guint action, GtkWidget *widget)
{
inc_cancel_all();
+ imap_cancel_all();
}
static void move_to_cb(MainWindow *mainwin, guint action, GtkWidget *widget)
summary_mark_as_spam(mainwin->summaryview, is_spam, NULL);
}
-void mainwindow_jump_to(const gchar *target)
+void mainwindow_jump_to(const gchar *target, gboolean popup)
{
gchar *tmp = NULL;
gchar *p = NULL;
if ((item = folder_find_item_from_identifier(tmp))) {
printf("selecting folder '%s'\n", tmp);
folderview_select(mainwin->folderview, item);
- main_window_popup(mainwin);
+ if (popup)
+ main_window_popup(mainwin);
g_free(tmp);
return;
}
printf("selecting message %d\n", atoi(msg));
summary_select_by_msgnum(mainwin->summaryview, atoi(msg));
summary_display_msg_selected(mainwin->summaryview, FALSE);
- main_window_popup(mainwin);
+ if (popup)
+ main_window_popup(mainwin);
g_free(tmp);
return;
} else if (item && msg[0] == '<' && msg[strlen(msg)-1] == '>') {
printf("selecting message %s\n", msg);
summary_select_by_msgnum(mainwin->summaryview, msginfo->msgnum);
summary_display_msg_selected(mainwin->summaryview, FALSE);
- main_window_popup(mainwin);
+ if (popup)
+ main_window_popup(mainwin);
g_free(tmp);
procmsg_msginfo_free(msginfo);
return;
if (prefs_common.layout_mode == SMALL_LAYOUT) {
folderview_close_opened(mainwin->folderview);
mainwin_paned_show_first(GTK_PANED(mainwin->hpaned));
- mainwin->in_folder = FALSE;
}
+ mainwin->in_folder = FALSE;
}
void mainwindow_enter_folder(MainWindow *mainwin) {
if (prefs_common.layout_mode == SMALL_LAYOUT) {
mainwin_paned_show_last(GTK_PANED(mainwin->hpaned));
- mainwin->in_folder = TRUE;
}
+ mainwin->in_folder = TRUE;
}
#ifdef MAEMO