# HG changeset patch # User Sadrul Habib Chowdhury # Date 1208946158 0 # Node ID 72141dd0f8c0a97baf9f5c425886eae9ba9806d6 # Parent 4a05b9db0b911e20b9483d0f4c8494e86cb0a901 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. diff -r 4a05b9db0b91 -r 72141dd0f8c0 pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Wed Apr 23 10:11:58 2008 +0000 +++ b/pidgin/gtkstatusbox.c Wed Apr 23 10:22:38 2008 +0000 @@ -1723,6 +1723,8 @@ 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);