( cvs diff -u -r 1.395.2.107 -r 1.395.2.108 src/summaryview.c; ) > 1.9.13cvs27.patchset
( cvs diff -u -r 1.395.2.108 -r 1.395.2.109 src/summaryview.c; cvs diff -u -r 1.1.2.10 -r 1.1.2.11 src/prefs_summaries.c; ) > 1.9.13cvs28.patchset
( cvs diff -u -r 1.213.2.49 -r 1.213.2.50 src/folder.c; cvs diff -u -r 1.3.2.6 -r 1.3.2.7 src/folderutils.c; cvs diff -u -r 1.207.2.55 -r 1.207.2.56 src/folderview.c; cvs diff -u -r 1.1.2.17 -r 1.1.2.18 src/imap_gtk.c; cvs diff -u -r 1.274.2.53 -r 1.274.2.54 src/mainwindow.c; cvs diff -u -r 1.2.2.10 -r 1.2.2.11 src/mh_gtk.c; cvs diff -u -r 1.150.2.34 -r 1.150.2.35 src/procmsg.c; cvs diff -u -r 1.395.2.109 -r 1.395.2.110 src/summaryview.c; ) > 1.9.13cvs29.patchset
+( cvs diff -u -r 1.274.2.54 -r 1.274.2.55 src/mainwindow.c; ) > 1.9.13cvs30.patchset
static void account_selector_menu_cb(GtkMenuItem *menuitem, gpointer data)
{
cur_account = (PrefsAccount *)data;
- main_window_reflect_prefs_all();
+ FolderItem *item = NULL;
+
+ if (!mainwindow_get_mainwindow())
+ return;
+ main_window_show_cur_account(mainwindow_get_mainwindow());
+ toolbar_update(TOOLBAR_MAIN, mainwindow_get_mainwindow());
+ main_window_set_menu_sensitive(mainwindow_get_mainwindow());
+ toolbar_main_set_sensitive(mainwindow_get_mainwindow());
+
+ item = folderview_get_selected_item(
+ mainwindow_get_mainwindow()->folderview);
+ if (item) {
+ toolbar_set_compose_button
+ (mainwindow_get_mainwindow()->toolbar,
+ FOLDER_TYPE(item->folder) == F_NEWS ?
+ COMPOSEBUTTON_NEWS : COMPOSEBUTTON_MAIL);
+ }
}
static void account_receive_menu_cb(GtkMenuItem *menuitem, gpointer data)