[gaim-migrate @ 8964]

Thu, 12 Feb 2004 17:58:53 +0000

author
Padraig O'Briain <padraigob@users.sourceforge.net>
date
Thu, 12 Feb 2004 17:58:53 +0000
changeset 8241
bc4a25b4140d
parent 8240
2e5f97ed575d
child 8242
e90619756c91

[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: Mark Doliner <markdoliner@pidgin.im>

COPYRIGHT file | annotate | diff | comparison | revisions
src/main.c file | annotate | diff | comparison | revisions
--- 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);

mercurial