Browse Source

make manager window sensitive when history is shown

tags/v5.1.2
guinux 4 years ago
parent
commit
60552a1a9e
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/manager_window.vala

+ 4
- 2
src/manager_window.vala View File

@@ -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 ();
}


Loading…
Cancel
Save