mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Major theme changes were done in GTK 4.0.2, not GTK 4.1
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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');
|
||||||
|
Reference in New Issue
Block a user