forked from cromer/pamac-classic
fix an issue in updater
This commit is contained in:
parent
466e914a2d
commit
5f39a34f51
@ -91,6 +91,7 @@ def handle_error(error):
|
|||||||
if response:
|
if response:
|
||||||
transaction.ErrorDialog.hide()
|
transaction.ErrorDialog.hide()
|
||||||
transaction.get_handle()
|
transaction.get_handle()
|
||||||
|
transaction.mark_needed_pkgs_as_dep()
|
||||||
|
|
||||||
def handle_reply(reply):
|
def handle_reply(reply):
|
||||||
while Gtk.events_pending():
|
while Gtk.events_pending():
|
||||||
@ -110,6 +111,7 @@ def handle_reply(reply):
|
|||||||
UpdaterWindow.get_window().set_cursor(None)
|
UpdaterWindow.get_window().set_cursor(None)
|
||||||
transaction.get_handle()
|
transaction.get_handle()
|
||||||
transaction.get_updates()
|
transaction.get_updates()
|
||||||
|
transaction.mark_needed_pkgs_as_dep()
|
||||||
|
|
||||||
def handle_updates(updates):
|
def handle_updates(updates):
|
||||||
transaction.ProgressWindow.hide()
|
transaction.ProgressWindow.hide()
|
||||||
@ -141,7 +143,6 @@ def on_TransCancelButton_clicked(*args):
|
|||||||
Gtk.main_iteration()
|
Gtk.main_iteration()
|
||||||
transaction.Release()
|
transaction.Release()
|
||||||
transaction.to_add.clear()
|
transaction.to_add.clear()
|
||||||
transaction.to_add_as_dep.clear()
|
|
||||||
transaction.to_update.clear()
|
transaction.to_update.clear()
|
||||||
transaction.to_build.clear()
|
transaction.to_build.clear()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user