vm-manager: fix typos in error message
This commit is contained in:
parent
57096ae0f4
commit
b474de8137
@ -99,7 +99,7 @@ class VMObject(GObject.Object):
|
|||||||
self.data = data
|
self.data = data
|
||||||
|
|
||||||
def _on_vm_status_changed(self, source: "VMObject") -> None:
|
def _on_vm_status_changed(self, source: "VMObject") -> None:
|
||||||
# Signal may be emited multiple times
|
# Signal may be emitted multiple times
|
||||||
self.emit("vm_build_notify", self.is_building(), self.is_running())
|
self.emit("vm_build_notify", self.is_building(), self.is_running())
|
||||||
|
|
||||||
prev_state = self.switch.get_state()
|
prev_state = self.switch.get_state()
|
||||||
@ -202,7 +202,7 @@ class VMObject(GObject.Object):
|
|||||||
self.progress_bar.show()
|
self.progress_bar.show()
|
||||||
self.prog_bar_id = GLib.timeout_add(100, self._pulse_progress_bar_task)
|
self.prog_bar_id = GLib.timeout_add(100, self._pulse_progress_bar_task)
|
||||||
if self.prog_bar_id == 0:
|
if self.prog_bar_id == 0:
|
||||||
log.error("Couldn't spawn a progess bar task")
|
log.error("Couldn't spawn a progress bar task")
|
||||||
|
|
||||||
# Wait for the build to finish then hide the progress bar
|
# Wait for the build to finish then hide the progress bar
|
||||||
self.build_process.proc.join()
|
self.build_process.proc.join()
|
||||||
|
Loading…
Reference in New Issue
Block a user