File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 11id : io.github.ellie_commons.jorts
22runtime : io.elementary.Platform
3- runtime-version : ' 8.1 '
3+ runtime-version : ' 8.2 '
44sdk : io.elementary.Sdk
55command : io.github.ellie_commons.jorts
66
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ public class Jorts.Application : Gtk.Application {
8181 public override void startup () {
8282 debug (" [JORTS] Jorts Startup…" );
8383 base . startup ();
84+ Gtk . init ();
8485 Granite . init ();
8586
8687 add_action_entries (ACTION_ENTRIES , this );
Original file line number Diff line number Diff line change @@ -129,15 +129,6 @@ namespace Jorts.Themer {
129129 public static void init_all_themes () {
130130 debug (" [THEMER] Init all themes" );
131131
132- // Use standard sheet
133- var app_provider = new Gtk .CssProvider ();
134- app_provider. load_from_resource (" /io/github/ellie_commons/jorts/Application.css" );
135- Gtk . StyleContext . add_provider_for_display (
136- Gdk . Display . get_default (),
137- app_provider,
138- Gtk . STYLE_PROVIDER_PRIORITY_APPLICATION + 1
139- );
140-
141132 // Then generate all theme classes
142133 foreach (unowned var theme in Jorts . Themes . all_string ()) {
143134 var theme_provider = new Gtk .CssProvider ();
You can’t perform that action at this time.
0 commit comments