vm-update: force recheck of updates availability after gpk-update-viewer terminated (#634)

This commit is contained in:
Marek Marczykowski 2012-07-22 01:18:21 +02:00
parent 977eb4d2b0
commit 1511dbca6d

View File

@ -1444,7 +1444,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
if vm.qid == 0:
subprocess.check_call (["/usr/bin/qubes-dom0-update", "--clean", "--gui"])
else:
vm.run("user:gpk-update-viewer", verbose=False, autostart=True,
vm.run("user:gpk-update-viewer;sudo service qubes-update-check start", verbose=False, autostart=True,
notify_function=lambda lvl, msg: trayIcon.showMessage(msg, msecs=3000) )
except Exception as ex:
thread_monitor.set_error_msg(str(ex))