pidgin: ab12e5d2: Give a name to the statusbox button so t...

sadrul at pidgin.im sadrul at pidgin.im
Wed Apr 23 06:38:44 EDT 2008


-----------------------------------------------------------------
Revision: ab12e5d2a19c73f5053123738b8873072ff0ee5e
Ancestor: bad8c54a513285c617fb34bddca1d652c7d7975e
Author: sadrul at pidgin.im
Date: 2008-04-23T10:22:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ab12e5d2a19c73f5053123738b8873072ff0ee5e

Modified files:
        pidgin/gtkstatusbox.c

ChangeLog: 

Give a name to the statusbox button so that it can be accessible by
screen readers. Thanks to Joanie for the hint, and to Sim-on for keeping
it alive. Fixes #3711.

-------------- next part --------------
============================================================
--- pidgin/gtkstatusbox.c	2a9e605436b19b55b86144cd4841cd95c6084647
+++ pidgin/gtkstatusbox.c	c6b7f9f574a3f6b172312d8a303068a2e4266cd7
@@ -1723,6 +1723,8 @@ pidgin_status_box_init (PidginStatusBox 
 	gtk_cell_view_set_model(GTK_CELL_VIEW(status_box->cell_view), GTK_TREE_MODEL(status_box->store));
 	gtk_list_store_append(status_box->store, &(status_box->iter));
 
+	atk_object_set_name(gtk_widget_get_accessible(status_box->toggle_button), _("Status Selector"));
+
 	gtk_container_add(GTK_CONTAINER(status_box->toggle_button), status_box->hbox);
 	gtk_box_pack_start(GTK_BOX(status_box->hbox), status_box->cell_view, TRUE, TRUE, 0);
 	gtk_box_pack_start(GTK_BOX(status_box->hbox), status_box->vsep, FALSE, FALSE, 0);


More information about the Commits mailing list