2008-05-21 [colin] 3.4.0cvs59
authorColin Leroy <colin@colino.net>
Wed, 21 May 2008 06:42:15 +0000 (06:42 +0000)
committerColin Leroy <colin@colino.net>
Wed, 21 May 2008 06:42:15 +0000 (06:42 +0000)
* src/mainwindow.c
Don't put SMTP-only accounts in receive menus

ChangeLog
PATCHSETS
configure.ac
src/mainwindow.c

index 90655a0376b01698f0775237c0e59d04cc2fe7f7..36f08c5255cf5f5a62bea3786b03c7b4bc600016 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-21 [colin]     3.4.0cvs59
+
+       * src/mainwindow.c
+               Don't put SMTP-only accounts in receive menus
+
 2008-05-21 [colin]     3.4.0cvs58
 
        * src/imap.c
index 6b40383f1900fd54c536d60487c0e7c6f777d838..153e8689ea7d61fb2f27b5dad3f464de6d0d9f56 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.179.2.220 -r 1.179.2.221 src/imap.c;  ) > 3.4.0cvs56.patchset
 ( cvs diff -u -r 1.36.2.139 -r 1.36.2.140 src/common/utils.c;  ) > 3.4.0cvs57.patchset
 ( cvs diff -u -r 1.179.2.221 -r 1.179.2.222 src/imap.c;  ) > 3.4.0cvs58.patchset
+( cvs diff -u -r 1.274.2.242 -r 1.274.2.243 src/mainwindow.c;  ) > 3.4.0cvs59.patchset
index c3277dc3c13b4c3f29ceffe73a57472456152dc8..25ec721d5121b0cda2e45798a09b6883e4e640fc 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=58
+EXTRA_VERSION=59
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 903d2a920876a22ef6ae88088e96d6c29e741a05..03e51ad6d3766e15d4bf414a0782a8f1d7c80c6f 100644 (file)
@@ -2230,6 +2230,9 @@ static void main_window_set_account_receive_menu(MainWindow *mainwin,
        for (cur_ac = account_list; cur_ac != NULL; cur_ac = cur_ac->next) {
                ac_prefs = (PrefsAccount *)cur_ac->data;
 
+               if (ac_prefs->protocol == A_NONE)
+                       continue;
+
                menuitem = gtk_menu_item_new_with_label
                        (ac_prefs->account_name ? ac_prefs->account_name
                         : _("Untitled"));
@@ -2260,6 +2263,9 @@ static void main_window_set_toolbar_combo_receive_menu(MainWindow *mainwin,
        for (cur_ac = account_list; cur_ac != NULL; cur_ac = cur_ac->next) {
                ac_prefs = (PrefsAccount *)cur_ac->data;
 
+               if (ac_prefs->protocol == A_NONE)
+                       continue;
+
                menuitem = gtk_menu_item_new_with_label
                        (ac_prefs->account_name
                         ? ac_prefs->account_name : _("Untitled"));