[evolution] ENameSelectorDialog: Set a11y description for the Add/Remove buttons



commit d8c22038e3b98e0d27a46e5b636aa21436f9fe00
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jun 1 17:33:38 2022 +0200

    ENameSelectorDialog: Set a11y description for the Add/Remove buttons
    
    This helps to distinguish the buttons for the accessibility.

 src/e-util/e-name-selector-dialog.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/e-util/e-name-selector-dialog.c b/src/e-util/e-name-selector-dialog.c
index f4ec82b8e7..ea48704264 100644
--- a/src/e-util/e-name-selector-dialog.c
+++ b/src/e-util/e-name-selector-dialog.c
@@ -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);
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]