File tree Expand file tree Collapse file tree 4 files changed +15
-51
lines changed Expand file tree Collapse file tree 4 files changed +15
-51
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ src/Widgets/PopoverWidgets/ColorBox.vala
77src/Widgets/PopoverWidgets/MonospaceBox.vala
88src/Widgets/PopoverWidgets/ZoomBox.vala
99src/Objects/Themes.vala
10- src/Utils/ZoomConvert.vala
1110src/Utils/Random.vala
1211src/Utils/Libportal.vala
1312src/Views/PreferencesView.vala
Original file line number Diff line number Diff line change @@ -144,7 +144,21 @@ Please wait while the app remembers all the things...
144144
145145
146146 // build all the stylesheets
147- Jorts . Themer . init_all_themes ();
147+ var app_provider = new Gtk .CssProvider ();
148+ app_provider. load_from_resource (" /io/github/ellie_commons/jorts/Application.css" );
149+ Gtk . StyleContext . add_provider_for_display (
150+ Gdk . Display . get_default (),
151+ app_provider,
152+ Gtk . STYLE_PROVIDER_PRIORITY_APPLICATION + 1
153+ );
154+
155+ var theme_provider = new Gtk .CssProvider ();
156+ theme_provider. load_from_resource (" /io/github/ellie_commons/jorts/Themes.css" );
157+ Gtk . StyleContext . add_provider_for_display (
158+ Gdk . Display . get_default (),
159+ theme_provider,
160+ Gtk . STYLE_PROVIDER_PRIORITY_APPLICATION + 1
161+ );
148162 }
149163
150164 /* ************************************************/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ sources = files (
99 ' Services' / ' Constants.vala' ,
1010 ' Services' / ' Storage.vala' ,
1111 ' Services' / ' NoteManager.vala' ,
12- ' Services' / ' Themer.vala' ,
1312 ' Services' / ' ZoomController.vala' ,
1413
1514 ' Widgets' / ' EditableLabel.vala' ,
You can’t perform that action at this time.
0 commit comments