* Fixes NB#93489, remove the login cancelled message
authorSergio Villar Senin <svillar@igalia.com>
Tue, 25 Nov 2008 10:08:13 +0000 (10:08 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 25 Nov 2008 10:08:13 +0000 (10:08 +0000)
pmo-trunk-r6392

src/modest-ui-actions.c

index 9c59018..27c367f 100644 (file)
@@ -3771,15 +3771,17 @@ modest_ui_actions_on_password_requested (TnyAccountStore *account_store,
                                 */
                        }
                        if (cancel)
-                               *cancel   = FALSE;                      
+                               *cancel   = FALSE;
                } else {
+#ifndef MODEST_TOOLKIT_HILDON2
                        /* Set parent to NULL or the banner will disappear with its parent dialog */
                        modest_platform_information_banner(NULL, NULL, _("mail_ib_login_cancelled"));
+#endif
                        completed = TRUE;
                        if (username)
-                               *username = NULL;                       
+                               *username = NULL;
                        if (password)
-                               *password = NULL;                       
+                               *password = NULL;
                        if (cancel)
                                *cancel   = TRUE;
                }