ENameSelectorDialog: Set a11y description for the Add/Remove buttons

This helps to distinguish the buttons for the accessibility.
This commit is contained in:
Milan Crha
2022-06-01 17:33:38 +02:00
parent 0a3afab042
commit d8c22038e3

View File

@ -987,6 +987,8 @@ add_section (ENameSelectorDialog *name_selector_dialog,
&text, NULL, NULL)) {
atk_object_set_name (gtk_widget_get_accessible (
GTK_WIDGET (section.destination_view)), text);
atk_object_set_description (gtk_widget_get_accessible (GTK_WIDGET (section.transfer_button)), text);
atk_object_set_description (gtk_widget_get_accessible (GTK_WIDGET (section.remove_button)), text);
g_free (text);
}