Commit 001b751d authored by guinux's avatar guinux

little installer fix

parent 7d8fac2b
......@@ -52,7 +52,6 @@ namespace Pamac {
transaction.term_window.height_request = 200;
progress_dialog.expander.add (transaction.term_window);
progress_dialog.close_button.clicked.connect (on_close_button_clicked);
progress_dialog.close_button.visible = false;
}
public override int command_line (ApplicationCommandLine cmd) {
......@@ -116,6 +115,7 @@ namespace Pamac {
progress_dialog.show ();
if (transaction.get_lock ()) {
transaction.start (to_install, to_remove, to_load, {}, {});
progress_dialog.close_button.visible = false;
} else {
transaction.progress_box.action_label.label = dgettext (null, "Waiting for another package manager to quit") + "...";
transaction.start_progressbar_pulse ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment