File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,23 @@ public class Starfish.UI.Application : Gtk.Application {
52
52
}
53
53
54
54
var window = new Window (this , manager);
55
+ foce_elementary_style ();
55
56
link_dark_mode_settings ();
56
57
window. show_all ();
57
58
return window;
58
59
}
59
60
61
+ private void foce_elementary_style () {
62
+ var settings = Gtk . Settings . get_default();
63
+ if (! settings. gtk_theme_name. has_prefix (" io.elementary.stylesheet" )) {
64
+ settings. gtk_theme_name = " io.elementary.stylesheet.blueberry" ;
65
+ }
66
+
67
+ if (settings. gtk_icon_theme_name != " elementary" ) {
68
+ settings. gtk_icon_theme_name = " elementary" ;
69
+ }
70
+ }
71
+
60
72
private void link_dark_mode_settings () {
61
73
var granite_settings = Granite . Settings . get_default ();
62
74
var gtk_settings = Gtk . Settings . get_default ();
You can’t perform that action at this time.
0 commit comments