Major theme changes were done in GTK 4.0.2, not GTK 4.1

This commit is contained in:
Rafał Dzięgiel
2021-02-09 20:49:07 +01:00
parent 894384483b
commit 3b7beac075
2 changed files with 4 additions and 4 deletions

View File

@@ -26,10 +26,10 @@ radio {
.osd list { .osd list {
background: none; background: none;
} }
.gtk41 trough highlight { .gtk402 trough highlight {
border-color: transparent; border-color: transparent;
} }
.gtk41 .osd trough highlight { .gtk402 .osd trough highlight {
border-color: inherit; border-color: inherit;
} }

View File

@@ -27,8 +27,8 @@ class ClapperAppBase extends Gtk.Application
title: Misc.appName, title: Misc.appName,
}); });
if(Gtk.MINOR_VERSION > 0) if(Gtk.MINOR_VERSION > 0 || Gtk.MICRO_VERSION > 1)
window.add_css_class('gtk41'); window.add_css_class('gtk402');
if(!settings.get_boolean('render-shadows')) if(!settings.get_boolean('render-shadows'))
window.add_css_class('gpufriendly'); window.add_css_class('gpufriendly');