mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
asyncjob: Fix backtrace when no cursor theme installed
Fixes: https://github.com/virt-manager/virt-manager/issues/479 Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
6ec00474a6
commit
cc4a39ea94
@ -265,9 +265,7 @@ class vmmAsyncJob(vmmGObjectUI):
|
||||
self.topwin.present()
|
||||
|
||||
if not self.cancel_cb and self.show_progress:
|
||||
gdk_window = self.topwin.get_window()
|
||||
gdk_window.set_cursor(
|
||||
Gdk.Cursor.new_from_name(gdk_window.get_display(), "progress"))
|
||||
self._set_cursor("progress")
|
||||
self._bg_thread.start()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user