mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Make attempt install dialog start the install worker
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user