From ccbd44e3ff82d3574cec4f032b43db33b2538fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Tue, 15 May 2018 22:27:10 +0200 Subject: [PATCH] workspace menu: Always update the text color We need to connect the Ste.Entry.clutter_text actor here. --- topbar.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/topbar.js b/topbar.js index fb4f33a..a3be963 100644 --- a/topbar.js +++ b/topbar.js @@ -88,9 +88,8 @@ class ColorEntry { } this.entry = new PopupMenuEntry('', 'Set color'); - this.entry.actor.connect( - 'notify::text', - () => { + this.entry.actor.clutter_text.connect( + 'text-changed', () => { let color = this.entry.actor.text; this.entry.actor.set_style(`color: ${color}; `); });