Skip to content

Commit

Permalink
Reorder startup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypw committed Nov 24, 2024
1 parent 598a793 commit 0c61995
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,9 @@ stdout.printf (" return -1 from handle_local_options \n");

protected override void startup () {
stdout.printf (" App startup \n");

base.startup ();
stdout.printf (" after base startup \n");
Granite.init ();
stdout.printf (" after Granite init \n");
Adw.init ();
stdout.printf (" after Adw init \n");

saved_state = new GLib.Settings ("io.elementary.terminal.saved-state");
stdout.printf (" after saved state init \n");
settings = new GLib.Settings ("io.elementary.terminal.settings");
Expand Down Expand Up @@ -278,6 +274,16 @@ stdout.printf (" set accels \n");
set_accels_for_action ("app.new-window", { "<Control><Shift>N" });
set_accels_for_action ("app.quit", { "<Control><Shift>Q" });
stdout.printf (" after startup \n");



Granite.init ();
stdout.printf (" after Granite init \n");
Adw.init ();
stdout.printf (" after Adw init \n");



}

protected override int command_line (ApplicationCommandLine command_line) {
Expand Down

0 comments on commit 0c61995

Please sign in to comment.