Exemple #1
0
def on_Updater_ApplyButton_clicked(*args):
	UpdaterWindow.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
	while Gtk.events_pending():
		Gtk.main_iteration()
	error = transaction.sysupgrade(show_updates = False)
	if error:
		handle_error(error)
Exemple #2
0
def on_Updater_ApplyButton_clicked(*args):
    UpdaterWindow.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
    while Gtk.events_pending():
        Gtk.main_iteration()
    error = transaction.sysupgrade(show_updates=False)
    if error:
        handle_error(error)
Exemple #3
0
def handle_updates(updates):
    ManagerWindow.get_window().set_cursor(None)
    transaction.ProgressWindow.hide()
    transaction.available_updates = updates
    error = transaction.sysupgrade()
    if error:
        handle_error(error)
Exemple #4
0
def handle_updates(updates):
	ManagerWindow.get_window().set_cursor(None)
	transaction.ProgressWindow.hide()
	transaction.available_updates = updates
	error = transaction.sysupgrade()
	if error:
		handle_error(error)