-
- /* Never show it if the UI is not launched */
- if (modest_window_mgr_get_num_windows (modest_runtime_get_window_mgr ())) {
- g_debug ("%s: going to show the dialog (%d windows)", __FUNCTION__,
- modest_window_mgr_get_num_windows (modest_runtime_get_window_mgr ()));
- /* The password must be wrong, so show the account settings dialog so it can be corrected: */
- show_wrong_password_dialog (account, TRUE);
- } else {
- g_debug ("%s: not showing the dialog (no windows)", __FUNCTION__);
- }
+ /* The password must be wrong, so show
+ the account settings dialog so it
+ can be corrected: */
+ g_debug ("%s: going to show the settings dialog", __FUNCTION__);
+ show_wrong_password_dialog ((TnyAccountStore *) self, account, TRUE);