Merge branch 'backend_manual' into 'backend_uu'
增加延迟 See merge request kylin-desktop/update-manager-group/kylin-system-updater!438
This commit is contained in:
commit
83f2daedab
|
@ -73,7 +73,7 @@ class UpdateManagerDbusController(dbus.service.Object):
|
|||
self.UpdateDetectStatusChanged(10,_("Updating Source Template"))
|
||||
obj = self.bus.get_object('com.kylin.software.properties', '/com/kylin/software/properties')
|
||||
interface = dbus.Interface(obj, dbus_interface='com.kylin.software.properties.interface')
|
||||
interface.updateSourceTemplate(timeout=1,reply_handler=self._update_important_reply,error_handler=self._update_important_error)
|
||||
interface.updateSourceTemplate(timeout=20,reply_handler=self._update_important_reply,error_handler=self._update_important_error)
|
||||
|
||||
def is_reboot_required(self):
|
||||
"""If a reboot is required to get all changes into effect."""
|
||||
|
|
Loading…
Reference in New Issue