Skip to content

Commit

Permalink
More messages, include providers
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypw committed Nov 24, 2024
1 parent cfe960c commit eeebce6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ stdout.printf (" after Adw init \n");
settings = new GLib.Settings ("io.elementary.terminal.settings");
settings_sys = new GLib.Settings ("org.gnome.desktop.interface");
themes = new Themes ();

if (!is_testing) {
stdout.printf (" after settings and themes init \n");
// if (!is_testing) {
var provider = new Gtk.CssProvider ();
provider.load_from_resource ("/io/elementary/terminal/Application.css");

Expand All @@ -258,8 +258,8 @@ stdout.printf (" after Adw init \n");
provider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + 1
);
}

// }
stdout.printf (" after providers init \n");
stdout.printf (" adding actions \n");
var new_window_action = new SimpleAction ("new-window", null);
new_window_action.activate.connect (() => {
Expand All @@ -271,7 +271,7 @@ stdout.printf (" adding actions \n");

add_action (new_window_action);
add_action (quit_action);

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");
Expand Down

0 comments on commit eeebce6

Please sign in to comment.