diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/mainwindow.c | 11 |
2 files changed, 10 insertions, 5 deletions
@@ -1,5 +1,9 @@ 2010-02-05 + * src/mainwindow.c: new_account_cb(): don't update UI when cancelled. + +2010-02-05 + * src/setup.c: modified messages. 2010-02-05 diff --git a/src/mainwindow.c b/src/mainwindow.c index 6280f654..d488b187 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -3903,11 +3903,12 @@ static void new_account_cb(MainWindow *mainwin, guint action, return; } - setup_account(); - account_set_menu(); - main_window_reflect_prefs_all(); - account_set_missing_folder(); - folderview_set(mainwin->folderview); + if (setup_account()) { + account_set_menu(); + main_window_reflect_prefs_all(); + account_set_missing_folder(); + folderview_set(mainwin->folderview); + } } static void account_selector_menu_cb(GtkMenuItem *menuitem, gpointer data) |