From cfd65c5bfe40c514d73c867ae6d6a03866b8ddb6 Mon Sep 17 00:00:00 2001 From: Martin Zurowietz Date: Sat, 10 Apr 2021 13:49:04 +0200 Subject: [PATCH] Update for GNOME 40 --- batime@martin.zurowietz.de/metadata.json | 2 +- batime@martin.zurowietz.de/power.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/batime@martin.zurowietz.de/metadata.json b/batime@martin.zurowietz.de/metadata.json index 00022d1..5de186a 100644 --- a/batime@martin.zurowietz.de/metadata.json +++ b/batime@martin.zurowietz.de/metadata.json @@ -1,6 +1,6 @@ { - "shell-version": ["3.36"], + "shell-version": ["40"], "uuid": "batime@martin.zurowietz.de", "url": "https://github.com/mzur/gnome-shell-batime", "settings-schema": "org.gnome.shell.extensions.batime", diff --git a/batime@martin.zurowietz.de/power.js b/batime@martin.zurowietz.de/power.js index 7e271b9..a6cd96f 100644 --- a/batime@martin.zurowietz.de/power.js +++ b/batime@martin.zurowietz.de/power.js @@ -36,6 +36,6 @@ var Indicator = GObject.registerClass( _sync() { super._sync(); - this._percentageLabel.clutter_text.set_markup('' + this._getTime() + ''); + this._percentageLabel.text = this._getTime(); } });