changeset 8241:1d68a254237b

[gaim-migrate @ 8964] From Padraig O'Briain (padraigob), "When a blind user uses gaim they expect the screen reader to speak the text of the label "Screen Name" when focus is on the login field. This is not possible as there is no logical connection between the widgets." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 12 Feb 2004 17:58:53 +0000
parents 609a62b8e748
children 1c06cadec61a
files COPYRIGHT src/main.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Thu Feb 12 17:51:21 2004 +0000
+++ b/COPYRIGHT	Thu Feb 12 17:58:53 2004 +0000
@@ -78,6 +78,7 @@
 Paul Miller
 Arkadiusz Miskiewicz
 Andrew Molloy
+Padraig O'Briain
 Matt Pandina
 Ricardo Fernandez Pascual
 Havoc Pennington
--- a/src/main.c	Thu Feb 12 17:51:21 2004 +0000
+++ b/src/main.c	Thu Feb 12 17:58:53 2004 +0000
@@ -257,6 +257,7 @@
 	gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0);
 
 	name = gaim_gtk_account_option_menu_new(NULL, TRUE, G_CALLBACK(combo_changed), NULL, NULL);
+	gtk_label_set_mnemonic_widget(GTK_LABEL(label), name);
 
 	gtk_box_pack_start(GTK_BOX(vbox2), name, FALSE, TRUE, 0);
 	gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, TRUE, 0);
@@ -270,6 +271,7 @@
 	gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0);
 
 	pass = gtk_entry_new();
+	gtk_label_set_mnemonic_widget(GTK_LABEL(label), pass);
 	gtk_entry_set_visibility(GTK_ENTRY(pass), FALSE);
 	g_signal_connect(G_OBJECT(pass), "activate",
 					 G_CALLBACK(dologin), mainwindow);