Blame SOURCES/0001-apps-menu-Explicitly-set-label_actor.patch

dd45d7
From fe13aa54e7c104f63689fcd15957ab16ffc0c3ef Mon Sep 17 00:00:00 2001
dd45d7
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
dd45d7
Date: Thu, 17 Mar 2016 17:15:38 +0100
dd45d7
Subject: [PATCH] apps-menu: Explicitly set label_actor
dd45d7
dd45d7
For some reason orca fails to pick up the label of category items,
dd45d7
so set the label_actor explicitly as workaround.
dd45d7
---
dd45d7
 extensions/apps-menu/extension.js | 4 +++-
dd45d7
 1 file changed, 3 insertions(+), 1 deletion(-)
dd45d7
dd45d7
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
dd45d7
index 983a4e7..f8cef41 100644
dd45d7
--- a/extensions/apps-menu/extension.js
dd45d7
+++ b/extensions/apps-menu/extension.js
dd45d7
@@ -113,7 +113,9 @@ class CategoryMenuItem extends PopupMenu.PopupBaseMenuItem {
dd45d7
         else
dd45d7
             name = _('Favorites');
dd45d7
 
dd45d7
-        this.add_child(new St.Label({ text: name }));
dd45d7
+        const label = new St.Label({ text: name });
dd45d7
+        this.add_child(label);
dd45d7
+        this.actor.label_actor = label;
dd45d7
         this.connect('motion-event', this._onMotionEvent.bind(this));
dd45d7
         this.connect('notify::active', this._onActiveChanged.bind(this));
dd45d7
     }
dd45d7
-- 
dd45d7
2.32.0
dd45d7