libadwaita/0011-button-row-Add-accessible-role-presentation.patch
Christian Hergert d0a41fdac7
Update to 1.6.6 with manual patching
Previously we had 1.6.1 but now there is 1.6.6. However after 1.6.2
libadwaita decided in a minor release to redo their build system to no
longer pre-generate CSS but instead push that on downstreams.

Ignoring the wisdom of doing this in a minor release, just work around
it by manually backporting the changes. They don't affect any CSS which
would need to be regenerated anyway.

Resolves: RHEL-86191
2025-04-29 13:19:21 -07:00

37 lines
1.4 KiB
Diff

From e2121248756cb544a490a48230c92d7469d1284e Mon Sep 17 00:00:00 2001
From: Maximiliano Sandoval <msandova@gnome.org>
Date: Mon, 23 Dec 2024 21:09:34 +0100
Subject: [PATCH 11/33] button-row: Add accessible-role=presentation
To the images in the row.
(cherry picked from commit bfacd7729cae143c4e4e7343df4e044c1d4e9f80)
---
src/adw-button-row.ui | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/adw-button-row.ui b/src/adw-button-row.ui
index 0791963e..cb09bf59 100644
--- a/src/adw-button-row.ui
+++ b/src/adw-button-row.ui
@@ -16,6 +16,7 @@
<child>
<object class="GtkImage" id="start_image">
<property name="icon-name" bind-source="AdwButtonRow" bind-property="start-icon-name" bind-flags="sync-create"/>
+ <property name="accessible-role">presentation</property>
<binding name="visible">
<closure function="string_is_not_empty" type="gboolean">
<lookup name="icon-name">start_image</lookup>
@@ -50,6 +51,7 @@
<child>
<object class="GtkImage" id="end_image">
<property name="icon-name" bind-source="AdwButtonRow" bind-property="end-icon-name" bind-flags="sync-create"/>
+ <property name="accessible-role">presentation</property>
<binding name="visible">
<closure function="string_is_not_empty" type="gboolean">
<lookup name="icon-name">end_image</lookup>
--
2.47.1