summaryrefslogtreecommitdiff
path: root/grc/gui
diff options
context:
space:
mode:
authorChuang Zhu <genelocated@yandex.com>2021-04-25 10:27:16 +0800
committermormj <34754695+mormj@users.noreply.github.com>2021-06-01 07:41:38 -0400
commitdf2ab4200b2abdf60914edc772509a471a776bed (patch)
tree7bf7fb6efdb373c9d5a64b2b7a44a2df3ccda915 /grc/gui
parent74463265ca7ac1f62948965d7be9ac450259bd24 (diff)
grc: fix dark theme on ParamWidgets
Signed-off-by: Chuang Zhu <genelocated@yandex.com>
Diffstat (limited to 'grc/gui')
-rw-r--r--grc/gui/ParamWidgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/ParamWidgets.py b/grc/gui/ParamWidgets.py
index 665a1ff524..54132acd1a 100644
--- a/grc/gui/ParamWidgets.py
+++ b/grc/gui/ParamWidgets.py
@@ -32,7 +32,7 @@ def have_dark_theme():
if prefer_dark in ('1', 'yes', 'true', 'on'):
theme_name = config.get(
'Settings', Constants.GTK_INI_THEME_NAME_KEY, fallback=None)
- return is_dark_theme(theme_name)
+ return True
try:
theme = subprocess.check_output(
["gsettings", "get", "org.gnome.desktop.interface", "gtk-theme"],