GNOME Bugzilla – Bug 159423
Alert Role is missing for some dialog
Last modified: 2004-12-22 21:47:04 UTC
Log in as a user who doesn't have the gconf accessibility key set. Start gnopernicus. A dialog asking the user to set this key will be displayed. On this dialog press the "Enable Support" button. In this case a new dialog will be displayed. These dialogs should have the "alert" role.
Created attachment 34891 [details] [review] proposed patch
Ada, I think this could be done without moving the dialogs from glade2; I think you could call atk_stateset_add_state () on the dialogs before they are posted.
Mybe this will work as well : AtkObject *obj = gtk_widget_get_accessible (dlg); atk_object_set_role (ATK_ROLE_ALERT);
Ada, you are right, I forgot for a moment that this is a ROLE and not a STATE. I believe the call above would work fine. It should make a smaller patch! :-)
Created attachment 34897 [details] [review] new proposed patch
Patch looks good - some formatting/style issues only (please remember to put spaces after commas, and before parentheses ( thanks! Bill
Created attachment 34899 [details] [review] rewritten patch in current code style
Comment on attachment 34899 [details] [review] rewritten patch in current code style The patch was applied in CVS HEAD and gnome-2-8 branch.