setup: Set focus on entry when asking for a password
This commit is contained in:
parent
f80e699194
commit
9d0bc1b7f1
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue