Skip to content

Commit de8515f

Browse files
FineFindusweblate
authored andcommitted
fix: hardcode Adwaita icon theme
Enforces the use of the default (`Adwaita`) icon theme. Fixes issues, where a custom icon theme would display icons with different metaphors than intended by the default icon theme, thus breaking the user experience. Ref: https://stopthemingmy.app/
1 parent 4ea8749 commit de8515f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/window.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ mod imp {
171171
if PROFILE == "Devel" {
172172
obj.add_css_class("devel");
173173
}
174+
obj.settings().set_gtk_icon_theme_name(Some("Adwaita"));
174175

175176
let main_context = glib::MainContext::default();
176177
main_context.spawn_local(glib::clone!(

0 commit comments

Comments
 (0)