* src/modest-ui-actions.c:
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 26 Sep 2007 12:14:20 +0000 (12:14 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 26 Sep 2007 12:14:20 +0000 (12:14 +0000)
        * (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

index 022ed9c..aea72a2 100644 (file)
@@ -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"));