From 3b7beac0756a643872d118e75b1c81391f65cd76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Tue, 9 Feb 2021 20:49:07 +0100 Subject: [PATCH] Major theme changes were done in GTK 4.0.2, not GTK 4.1 --- css/styles.css | 4 ++-- src/appBase.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/styles.css b/css/styles.css index 54d0d984..82ca00b4 100644 --- a/css/styles.css +++ b/css/styles.css @@ -26,10 +26,10 @@ radio { .osd list { background: none; } -.gtk41 trough highlight { +.gtk402 trough highlight { border-color: transparent; } -.gtk41 .osd trough highlight { +.gtk402 .osd trough highlight { border-color: inherit; } diff --git a/src/appBase.js b/src/appBase.js index f1e7bb19..bfd4fc39 100644 --- a/src/appBase.js +++ b/src/appBase.js @@ -27,8 +27,8 @@ class ClapperAppBase extends Gtk.Application title: Misc.appName, }); - if(Gtk.MINOR_VERSION > 0) - window.add_css_class('gtk41'); + if(Gtk.MINOR_VERSION > 0 || Gtk.MICRO_VERSION > 1) + window.add_css_class('gtk402'); if(!settings.get_boolean('render-shadows')) window.add_css_class('gpufriendly');