From 781bf2874634d56a37c2ead02859935e15c1a6b5 Mon Sep 17 00:00:00 2001 From: heliguy4599 Date: Thu, 10 Oct 2024 17:37:57 -0400 Subject: [PATCH] Make attempt install dialog start the install worker --- src/gtk/attempt_install_dialog.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gtk/attempt_install_dialog.py b/src/gtk/attempt_install_dialog.py index 1664024..1282dca 100644 --- a/src/gtk/attempt_install_dialog.py +++ b/src/gtk/attempt_install_dialog.py @@ -42,8 +42,14 @@ class AttemptInstallDialog(Adw.AlertDialog): break if not active_row is None: + install_page = HostInfo.main_window.pages[HostInfo.main_window.install_row] + HostInfo.main_window.activate_row(HostInfo.main_window.install_row) self.callback(True) - print(row.remote_name, row.remote_installation, self.package_names) + install_page.install_packages([{ + "remote": row.remote_name, + "installation": row.remote_installation, + "package_names": self.package_names, + }]) elif not self.callback is None: self.callback(False)