Mercurial > pidgin.yaz
comparison src/main.c @ 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 | fab67640b59f |
children | f24172f53650 |
comparison
equal
deleted
inserted
replaced
8240:609a62b8e748 | 8241:1d68a254237b |
---|---|
255 gtk_label_set_markup(GTK_LABEL(label), _("<b>Screen Name:</b>")); | 255 gtk_label_set_markup(GTK_LABEL(label), _("<b>Screen Name:</b>")); |
256 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | 256 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); |
257 gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0); | 257 gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0); |
258 | 258 |
259 name = gaim_gtk_account_option_menu_new(NULL, TRUE, G_CALLBACK(combo_changed), NULL, NULL); | 259 name = gaim_gtk_account_option_menu_new(NULL, TRUE, G_CALLBACK(combo_changed), NULL, NULL); |
260 gtk_label_set_mnemonic_widget(GTK_LABEL(label), name); | |
260 | 261 |
261 gtk_box_pack_start(GTK_BOX(vbox2), name, FALSE, TRUE, 0); | 262 gtk_box_pack_start(GTK_BOX(vbox2), name, FALSE, TRUE, 0); |
262 gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, TRUE, 0); | 263 gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, TRUE, 0); |
263 | 264 |
264 vbox2 = gtk_vbox_new(FALSE, 0); | 265 vbox2 = gtk_vbox_new(FALSE, 0); |
268 gtk_label_set_markup(GTK_LABEL(label), _("<b>Password:</b>")); | 269 gtk_label_set_markup(GTK_LABEL(label), _("<b>Password:</b>")); |
269 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | 270 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); |
270 gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0); | 271 gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0); |
271 | 272 |
272 pass = gtk_entry_new(); | 273 pass = gtk_entry_new(); |
274 gtk_label_set_mnemonic_widget(GTK_LABEL(label), pass); | |
273 gtk_entry_set_visibility(GTK_ENTRY(pass), FALSE); | 275 gtk_entry_set_visibility(GTK_ENTRY(pass), FALSE); |
274 g_signal_connect(G_OBJECT(pass), "activate", | 276 g_signal_connect(G_OBJECT(pass), "activate", |
275 G_CALLBACK(dologin), mainwindow); | 277 G_CALLBACK(dologin), mainwindow); |
276 gtk_box_pack_start(GTK_BOX(vbox2), pass, FALSE, TRUE, 0); | 278 gtk_box_pack_start(GTK_BOX(vbox2), pass, FALSE, TRUE, 0); |
277 gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, TRUE, 0); | 279 gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, TRUE, 0); |