|
|
|
|
@ -439,6 +439,7 @@ class Handler:
|
|
|
|
|
transaction.Release()
|
|
|
|
|
choose_provides()
|
|
|
|
|
transaction.check_conflicts()
|
|
|
|
|
if set(transaction_dict.keys()).intersection(transaction.to_add):
|
|
|
|
|
if transaction.init_transaction(noconflicts = True):
|
|
|
|
|
for pkgname in transaction.to_add:
|
|
|
|
|
transaction.Add(pkgname)
|
|
|
|
|
@ -460,11 +461,14 @@ class Handler:
|
|
|
|
|
if response:
|
|
|
|
|
transaction.WarningDialog.hide()
|
|
|
|
|
transaction.t_lock = False
|
|
|
|
|
else:
|
|
|
|
|
transaction.t_lock = False
|
|
|
|
|
|
|
|
|
|
def on_EraseButton_clicked(self, *arg):
|
|
|
|
|
global transaction_type
|
|
|
|
|
global transaction_dict
|
|
|
|
|
transaction_dict.clear()
|
|
|
|
|
if transaction_type:
|
|
|
|
|
transaction_type = None
|
|
|
|
|
refresh_packages_list()
|
|
|
|
|
|
|
|
|
|
|