File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ You'll need the following dependencies:
1616
1717* libgee-0.8-dev
1818* libglib2.0-dev (>= 2.76)
19- * libgranite-7-dev
19+ * libgranite-7-dev (>= 7.7.0)
2020* libgtk-4-dev
2121* libadwaita-1-dev (>= 1.4)
2222* meson (>= 0.57.0)
Original file line number Diff line number Diff line change @@ -73,15 +73,6 @@ namespace Switchboard {
7373
7474 Granite . init ();
7575
76- var granite_settings = Granite . Settings . get_default ();
77- var gtk_settings = Gtk . Settings . get_default ();
78-
79- gtk_settings. gtk_application_prefer_dark_theme = granite_settings. prefers_color_scheme == Granite . Settings . ColorScheme . DARK ;
80-
81- granite_settings. notify[" prefers-color-scheme" ]. connect (() = > {
82- gtk_settings. gtk_application_prefer_dark_theme = granite_settings. prefers_color_scheme == Granite . Settings . ColorScheme . DARK ;
83- });
84-
8576 var back_action = new SimpleAction (" back" , null );
8677 var quit_action = new SimpleAction (" quit" , null );
8778 var updates_action = new SimpleAction (" show-updates" , null );
You can’t perform that action at this time.
0 commit comments