setup: Set focus on entry when asking for a password

This commit is contained in:
Hylke Bons 2013-10-09 20:02:46 +02:00
parent f80e699194
commit 9d0bc1b7f1

View file

@ -467,7 +467,7 @@ namespace SparkleShare {
Description = "Please enter the password to see their contents.";
}
Label password_label = new Label ("<b>" + "Password:" + "</b>") {
Label password_label = new Label ("<b>" + "Password" + "</b>") {
UseMarkup = true,
Xalign = 1
};
@ -552,6 +552,8 @@ namespace SparkleShare {
AddButton (cancel_button);
AddButton (continue_button);
password_entry.GrabFocus ();
}
if (type == PageType.Finished) {