summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2003-07-30 22:24:01 +0000
committerGeorge Lebl <jirka@src.gnome.org>2003-07-30 22:24:01 +0000
commitc27a595f1460ad7feaaaa6ed55070e323bd578a3 (patch)
tree9ee3f3b6dea6f525e9717b861f4d6d4035115abe
parent0c94d17a6a106fc96a02ee309b07295bccfeaea9 (diff)
downloadgdm-c27a595f1460ad7feaaaa6ed55070e323bd578a3.tar.gz
add gdk_beep to the Username prompt, that way you know you can type.
Wed Jul 30 15:21:08 2003 George Lebl <jirka@5z.com> * gui/gdmlogin.c, gui/greeter/greeter.c: add gdk_beep to the Username prompt, that way you know you can type. Useful for blind people, or people that are not watching their screen to see when the computer finished booting.
-rw-r--r--ChangeLog7
-rw-r--r--gui/gdmlogin.c1
-rw-r--r--gui/greeter/greeter.c6
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b17d4272..2988b694 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Jul 30 15:21:08 2003 George Lebl <jirka@5z.com>
+
+ * gui/gdmlogin.c, gui/greeter/greeter.c: add gdk_beep to the Username
+ prompt, that way you know you can type. Useful for blind people,
+ or people that are not watching their screen to see when the
+ computer finished booting.
+
Tue Jul 29 17:32:35 2003 George Lebl <jirka@5z.com>
* configure.in: whack the gdk-pixbuf-2.0 req since we're including
diff --git a/gui/gdmlogin.c b/gui/gdmlogin.c
index d5ff574c..03f2ffed 100644
--- a/gui/gdmlogin.c
+++ b/gui/gdmlogin.c
@@ -1758,6 +1758,7 @@ gdm_login_ctrl_handler (GIOChannel *source, GIOCondition cond, gint fd)
tmp = ve_locale_to_utf8 (buf);
if (strcmp (tmp, _("Username:")) == 0) {
+ gdk_beep ();
gtk_label_set_text_with_mnemonic (GTK_LABEL (label), _("_Username:"));
} else {
gtk_label_set_text (GTK_LABEL (label), tmp);
diff --git a/gui/greeter/greeter.c b/gui/greeter/greeter.c
index 0f09efe3..bf06aa67 100644
--- a/gui/greeter/greeter.c
+++ b/gui/greeter/greeter.c
@@ -262,10 +262,12 @@ greeter_ctrl_handler (GIOChannel *source,
buf[len-1] = '\0';
tmp = ve_locale_to_utf8 (buf);
- if (tmp != NULL && strcmp (tmp, _("Username:")) == 0)
+ if (tmp != NULL && strcmp (tmp, _("Username:")) == 0) {
+ gdk_beep ();
greeter_probably_login_prompt = TRUE;
- else
+ } else {
greeter_probably_login_prompt = FALSE;
+ }
greeter_item_pam_prompt (tmp, 128, TRUE);
g_free (tmp);
break;