diff --git a/src/manager_window.vala b/src/manager_window.vala index 744d809..9fddafa 100644 --- a/src/manager_window.vala +++ b/src/manager_window.vala @@ -1045,8 +1045,10 @@ namespace Pamac { } var history_dialog = new HistoryDialog (this); history_dialog.textview.buffer.set_text (text.str, (int) text.len); - history_dialog.run (); - history_dialog.destroy (); + history_dialog.show (); + history_dialog.response.connect (() => { + history_dialog.destroy (); + }); while (Gtk.events_pending ()) { Gtk.main_iteration (); }