+2005-10-03 [colin] 1.9.15cvs1
+
+ * src/compose.c
+ * src/imap.c
+ * src/inc.c
+ * src/main.c
+ * src/messageview.c
+ * src/news.c
+ * src/summaryview.c
+ * src/gtk/sslcertwindow.c
+ * src/plugins/trayicon/trayicon.c
+ Add accels to every AlertPanel. Patch by Fabien
+ Vantard
+
2005-10-03 [paul] 1.9.15
1.9.15 released
( cvs diff -u -r 1.115.2.55 -r 1.115.2.56 src/main.c; ) > 1.9.14cvs66.patchset
( cvs diff -u -r 1.17.2.19 -r 1.17.2.20 src/send_message.c; ) > 1.9.14cvs67.patchset
( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 po/ca.po; cvs diff -u -r 1.58.2.13 -r 1.58.2.14 po/de.po; cvs diff -u -r 1.60.2.15 -r 1.60.2.16 po/es.po; cvs diff -u -r 1.1.2.5 -r 1.1.2.6 po/fi.po; cvs diff -u -r 1.42.2.15 -r 1.42.2.16 po/fr.po; cvs diff -u -r 1.2.2.16 -r 1.2.2.17 po/sk.po; cvs diff -u -r 1.17.2.13 -r 1.17.2.14 po/sr.po; cvs diff -u -r 1.5.2.9 -r 1.5.2.10 po/zh_CN.po; ) > 1.9.14cvs68.patchset
+( cvs diff -u -r 1.382.2.177 -r 1.382.2.178 src/compose.c; cvs diff -u -r 1.179.2.73 -r 1.179.2.74 src/imap.c; cvs diff -u -r 1.149.2.35 -r 1.149.2.36 src/inc.c; cvs diff -u -r 1.115.2.56 -r 1.115.2.57 src/main.c; cvs diff -u -r 1.94.2.65 -r 1.94.2.66 src/messageview.c; cvs diff -u -r 1.101.2.16 -r 1.101.2.17 src/news.c; cvs diff -u -r 1.395.2.128 -r 1.395.2.129 src/summaryview.c; cvs diff -u -r 1.9.2.6 -r 1.9.2.7 src/gtk/sslcertwindow.c; cvs diff -u -r 1.14.2.20 -r 1.14.2.21 src/plugins/trayicon/trayicon.c; ) > 1.9.15cvs1.patchset
MICRO_VERSION=15
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=0
+EXTRA_VERSION=1
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
if (compose->modified) {
val = alertpanel(_("Discard message"),
_("This message has been modified. Discard it?"),
- _("Discard"), _("Save to Drafts"), GTK_STOCK_CANCEL);
+ _("_Discard"), _("_Save to Drafts"), GTK_STOCK_CANCEL);
switch (val) {
case G_ALERTDEFAULT:
gtk_container_add(GTK_CONTAINER(button), cert_widget);
val = alertpanel_full(_("Unknown SSL Certificate"), NULL,
- _("Accept and save"), _("Cancel connection"), NULL,
+ _("_Accept and save"), _("_Cancel connection"), NULL,
FALSE, vbox, ALERT_QUESTION, G_ALERTDEFAULT);
return (val == G_ALERTDEFAULT);
gtk_container_add(GTK_CONTAINER(button), vbox);
val = alertpanel_full(_("Changed SSL Certificate"), NULL,
- _("Accept and save"), _("Cancel connection"), NULL,
+ _("_Accept and save"), _("_Cancel connection"), NULL,
FALSE, vbox2, ALERT_WARNING, G_ALERTDEFAULT);
return (val == G_ALERTDEFAULT);
"Do you want to continue connecting to this "
"server? The communication would not be "
"secure."),
- _("Continue connecting"),
+ _("Con_tinue connecting"),
GTK_STOCK_CANCEL, NULL,
FALSE, NULL, ALERT_WARNING,
G_ALERTALTERNATE) != G_ALERTDEFAULT)
"Do you want to continue connecting to this "
"server? The communication would not be "
"secure."),
- _("Continue connecting"),
+ _("Con_tinue connecting"),
GTK_STOCK_CANCEL, NULL,
FALSE, NULL, ALERT_WARNING,
G_ALERTALTERNATE) != G_ALERTDEFAULT)
void app_will_exit(GtkWidget *widget, gpointer data)
{
MainWindow *mainwin = data;
-
+
if (compose_get_compose_list()) {
gint val = alertpanel(_("Really quit?"),
_("Composing message exists."),
- _("Draft them"), _("Discard them"), _("Don't quit"));
+ _("_Save to Draft"), _("_Discard them"), _("Do_n't quit"));
switch (val) {
case G_ALERTOTHER:
return;
default:
draft_all_messages();
}
-
+
manage_window_focus_in(mainwin->window, NULL, NULL);
}
AlertValue val;
gchar *message;
message = g_strdup_printf(
- _("The notification address to which the "
- "return receipt is to be sent\n"
- "does not correspond to the return path:\n"
- "Notification address: %s\n"
- "Return path: %s\n"
- "It is advised to not to send the return "
- "receipt."), to, buf);
- val = alertpanel_full(_("Warning"), message,
- _("Send"), _("+Don't Send"), NULL, FALSE,
+ _("The notification address to which the return receipt is\n"
+ "to be sent does not correspond to the return path:\n"
+ "Notification address: %s\n"
+ "Return path: %s\n"
+ "It is advised to not to send the return receipt."),
+ to, buf);
+ val = alertpanel_full(_("Warning"), message, _("_Send"),
+ _("+_Don't Send"), NULL, FALSE,
NULL, ALERT_WARNING, G_ALERTALTERNATE);
g_free(message);
if (val != G_ALERTDEFAULT)
if (ac_list == NULL) {
AlertValue val =
alertpanel_full(_("Warning"),
- _("This message is asking for a return "
- "receipt notification\n"
- "but according to its 'To:' and 'CC:' "
- "headers it was not\nofficially addressed "
- "to you.\n"
- "It is advised to not to send the return ."
- "receipt."),
- _("Send"), _("+Don't Send"),NULL, FALSE,
- NULL, ALERT_WARNING, G_ALERTALTERNATE);
+ _("This message is asking for a return receipt notification\n"
+ "but according to its 'To:' and 'CC:' headers it was not\n"
+ "officially addressed to you.\n"
+ "It is advised to not to send the return receipt."),
+ _("_Send"), _("+_Don't Send"),NULL, FALSE,
+ NULL, ALERT_WARNING, G_ALERTALTERNATE);
if (val != G_ALERTDEFAULT)
return -1;
}
- if (g_list_length(ac_list) > 1)
- account = select_account_from_list(ac_list);
+ if (g_list_length(ac_list) > 1) {
+ if ((account = select_account_from_list(ac_list)) == NULL)
+ return -1;
+ }
else if (ac_list != NULL)
account = (PrefsAccount *) ac_list->data;
g_list_free(ac_list);
"accounts.\n"
"Please choose which account do you want to "
"use for sending the receipt notification:"),
- _("Send Notification"), _("+Cancel"), NULL,
+ _("_Send Notification"), _("+_Cancel"), NULL,
optmenu) != G_ALERTDEFAULT)
return NULL;
return account_find_from_id(account_id);
"Do you want to continue connecting to this "
"server? The communication would not be "
"secure."),
- _("Continue connecting"),
+ _("Con_tinue connecting"),
GTK_STOCK_CANCEL, NULL,
FALSE, NULL, ALERT_WARNING,
G_ALERTALTERNATE) != G_ALERTDEFAULT)
{
if (prefs_common.confirm_on_exit) {
if (alertpanel(_("Exit"), _("Exit this program?"),
- _("OK"), _("Cancel"), NULL) != G_ALERTDEFAULT)
+ GTK_STOCK_OK, GTK_STOCK_CANCEL, NULL) != G_ALERTDEFAULT)
return;
manage_window_focus_in(mainwin->window, NULL, NULL);
}
if (is_file_exist(dest)) {
aval = alertpanel(_("Append or Overwrite"),
_("Append or overwrite existing file?"),
- _("Append"), _("Overwrite"),
+ _("_Append"), _("_Overwrite"),
GTK_STOCK_CANCEL);
if (aval != 0 && aval != 1)
return;
g_return_val_if_fail(msginfo_update != NULL, TRUE);
g_return_val_if_fail(summaryview != NULL, FALSE);
+ if (summary_is_locked(summaryview))
+ return FALSE;
+
if (msginfo_update->flags & MSGINFO_UPDATE_FLAGS) {
node = gtk_ctree_find_by_row_data(GTK_CTREE(summaryview->ctree), NULL, msginfo_update->msginfo);