From 2f8a2c3166fb890ebe19982afa68abfaa0866deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 13 Jul 2023 18:50:30 +0200 Subject: [PATCH] status/keyboard: Explicitly initialize ornament Layout items use the ornament to indicate the active layout, so their ornament should always be NONE or DOT. The default is about to change to HIDDEN, so explicitly initialize the ornament to NONE to keep the current radio item appearance. Part-of: --- js/ui/status/keyboard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index bbdf22597..b222574d2 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -28,6 +28,8 @@ class LayoutMenuItem extends PopupMenu.PopupBaseMenuItem { _init(displayName, shortName) { super._init(); + this.setOrnament(PopupMenu.Ornament.NONE); + this.label = new St.Label({ text: displayName, x_expand: true,