From d4bfaeccf3f632bd07186753f65894be7e53d9f4 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Wed, 26 Sep 2007 12:14:20 +0000 Subject: [PATCH] * src/modest-ui-actions.c: * (modest_ui_actions_on_password_requested): now we set the focus to the password entry in case username has already a value (fixes NB#66489). pmo-trunk-r3422 --- src/modest-ui-actions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 022ed9c..aea72a2 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -2851,6 +2851,9 @@ modest_ui_actions_on_password_requested (TnyAccountStore *account_store, gtk_box_pack_start (GTK_BOX(GTK_DIALOG(dialog)->vbox), entry_password, TRUE, FALSE, 0); #endif /* MODEST_PLATFORM_MAEMO */ + + if (initial_username != NULL) + gtk_widget_grab_focus (GTK_WIDGET (entry_password)); /* This is not in the Maemo UI spec: remember_pass_check = gtk_check_button_new_with_label (_("Remember password")); -- 1.7.9.5