+2008-07-05 [paul] 3.5.0cvs13
+
+ * src/mainwindow.c
+ * src/mainwindow.h
+ fix bug 1398, '"Change current account" is
+ available even when there's only one account'
+ * src/plugins/pgpcore/prefs_gpg.c
+ put back a needed include, removed in error
+
2008-07-05 [colin] 3.5.0cvs12
* src/mainwindow.c
( cvs diff -u -r 1.1.2.29 -r 1.1.2.30 src/plugins/pgpcore/passphrase.c; cvs diff -u -r 1.1.2.28 -r 1.1.2.29 src/plugins/pgpcore/prefs_gpg.c; cvs diff -u -r 1.1.2.19 -r 1.1.2.20 src/plugins/pgpcore/select-keys.c; ) > 3.5.0cvs10.patchset
( cvs diff -u -r 1.101.2.51 -r 1.101.2.52 src/news.c; cvs diff -u -r 1.2.2.25 -r 1.2.2.26 src/news_gtk.c; ) > 3.5.0cvs11.patchset
( cvs diff -u -r 1.274.2.246 -r 1.274.2.247 src/mainwindow.c; ) > 3.5.0cvs12.patchset
+( cvs diff -u -r 1.274.2.247 -r 1.274.2.248 src/mainwindow.c; cvs diff -u -r 1.39.2.47 -r 1.39.2.48 src/mainwindow.h; cvs diff -u -r 1.1.2.29 -r 1.1.2.30 src/plugins/pgpcore/prefs_gpg.c; ) > 3.5.0cvs13.patchset
if (item && item->prefs->processing && selection != SUMMARY_NONE)
state |= M_HAVE_PROCESSING;
+ if (g_list_length(account_list) > 1)
+ state |= M_HAVE_MULTI_ACCOUNT;
+
for ( ; account_list != NULL; account_list = account_list->next) {
if (((PrefsAccount*)account_list->data)->protocol == A_NNTP) {
state |= M_HAVE_NEWS_ACCOUNT;
{"/Tools/Delete duplicated messages/In selected folder" , M_MSG_EXIST|M_ALLOW_DELETE},
{"/Configuration", M_UNLOCKED},
+ {"/Configuration/Change current account", M_HAVE_MULTI_ACCOUNT},
{"/Configuration/Preferences for current account...", M_UNLOCKED},
{"/Configuration/Create new account...", M_UNLOCKED},
{"/Configuration/Edit accounts...", M_UNLOCKED},
M_TAGS_EXIST = 1 << 20,
M_HAVE_PROCESSING = 1 << 21,
M_SUMMARY_ISLIST = 1 << 22,
- M_IN_MSGLIST = 1 << 23
+ M_IN_MSGLIST = 1 << 23,
+ M_HAVE_MULTI_ACCOUNT = 1 << 24
} SensitiveCond;
typedef enum