From 60552a1a9e31df47b4060c39c208046261d88fea Mon Sep 17 00:00:00 2001 From: guinux Date: Tue, 20 Oct 2015 10:53:27 +0200 Subject: [PATCH] make manager window sensitive when history is shown --- src/manager_window.vala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 (); }