diff --git a/src/Application.vala b/src/Application.vala index c239b3f6ac..fd21c3401a 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -169,9 +169,6 @@ public class Terminal.Application : Gtk.Application { if (terminal == null) { return; - } else if (!terminal.is_init_complete ()) { - terminal.set_init_complete (); - return; } var notification_title = _("Process completed"); diff --git a/src/Widgets/TerminalWidget.vala b/src/Widgets/TerminalWidget.vala index 9ff091a75b..32c9644960 100644 --- a/src/Widgets/TerminalWidget.vala +++ b/src/Widgets/TerminalWidget.vala @@ -28,7 +28,6 @@ namespace Terminal { public string current_working_directory { get; private set; default = "";} public string program_string { get; set; default = ""; } static int terminal_id_counter = 0; - private bool init_complete; public bool resized {get; set;} public TabState tab_state { get; set; default = NONE; } @@ -145,7 +144,6 @@ namespace Terminal { construct { pointer_autohide = true; terminal_id = "%i".printf (terminal_id_counter++); - init_complete = false; update_audible_bell (); update_cursor_shape (); @@ -1025,14 +1023,6 @@ namespace Terminal { font_scale = 1.0; } - public bool is_init_complete () { - return init_complete; - } - - public void set_init_complete () { - init_complete = true; - } - private bool on_drop (Value val, double x, double y) { var uris = Uri.list_extract_uris (val.dup_string ()); string path;