aboutsummaryrefslogtreecommitdiff
path: root/src/greeter-list.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r--src/greeter-list.vala8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala
index 98c8b48..dc41a8f 100644
--- a/src/greeter-list.vala
+++ b/src/greeter-list.vala
@@ -295,8 +295,12 @@ public abstract class GreeterList : FadableBox
}
string accessible_text = null;
- if (selected_entry != null && selected_entry.label != null)
- accessible_text = _("Enter password for %s").printf (selected_entry.label);
+ if (selected_entry != null && selected_entry.label != null) {
+ if (secret)
+ accessible_text = _("Enter password for %s").printf (selected_entry.label);
+ else
+ accessible_text = _("Enter your username");
+ }
var prompt = selected_entry.add_prompt (text, accessible_text, secret);
if (mode != Mode.SCROLLING)