forked from cromer/pamac-classic
fix an issue
This commit is contained in:
parent
3873dbdc69
commit
62991a7304
@ -166,7 +166,9 @@ def on_Updater_ApplyButton_clicked(*args):
|
|||||||
UpdaterWindow.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
|
UpdaterWindow.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
|
||||||
while Gtk.events_pending():
|
while Gtk.events_pending():
|
||||||
Gtk.main_iteration()
|
Gtk.main_iteration()
|
||||||
transaction.sysupgrade(show_updates = False)
|
error = transaction.sysupgrade(show_updates = False)
|
||||||
|
if error:
|
||||||
|
handle_error(error)
|
||||||
|
|
||||||
def on_Updater_RefreshButton_clicked(*args):
|
def on_Updater_RefreshButton_clicked(*args):
|
||||||
UpdaterWindow.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
|
UpdaterWindow.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
|
||||||
|
Loading…
Reference in New Issue
Block a user