[gnome-control-center] Ensure that the activatable widgets of the multitasking rows have the proper labels



commit 4a421d0abc88adf3ed23f2e2219cb679c8953507
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date:   Mon May 9 16:27:45 2022 +0200

    Ensure that the activatable widgets of the multitasking rows have the proper labels

 panels/multitasking/cc-multitasking-row.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/panels/multitasking/cc-multitasking-row.c b/panels/multitasking/cc-multitasking-row.c
index 007c9cba1..9524fbacf 100644
--- a/panels/multitasking/cc-multitasking-row.c
+++ b/panels/multitasking/cc-multitasking-row.c
@@ -420,6 +420,11 @@ cc_multitasking_row_set_activatable_widget (CcMultitaskingRow *self,
                        activatable_widget_weak_notify,
                        self);
     gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (self), TRUE);
+    gtk_accessible_update_relation (GTK_ACCESSIBLE (self->activatable_widget),
+                                GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->title, NULL,
+                                GTK_ACCESSIBLE_RELATION_DESCRIBED_BY, self->subtitle, NULL,
+                                -1);
+
   }
 
   g_object_notify_by_pspec (G_OBJECT (self), props[PROP_ACTIVATABLE_WIDGET]);


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