78a202101a
535fb6f6-hide-scrollbar-until-something-scrollable.patch 535fe0c2-fix-screenshot-with-qxl-spice.patch 535feaca-fix-storage-when-directory-name-contains-whitespace.patch 535ff0b7-fix-install-when-one-package-is-already-installed.patch 536152fe-fix-error-detecting-OS-in-show-all-list.patch 536154d8-show-error-if-launching-delete-dialog-fails.patch 53615662-call-path_exists-before-getting-storage-volume.patch - s390x: Set the correct emulator virtinst-set-qemu-emulator.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=169
24 lines
962 B
Diff
24 lines
962 B
Diff
Subject: engine: Show error if launching delete dialog fails
|
|
From: Cole Robinson crobinso@redhat.com Wed Apr 30 15:54:00 2014 -0400
|
|
Date: Wed Apr 30 15:54:00 2014 -0400:
|
|
Git: f35438a01bbf3ba54b4e448d14e7981110a74f08
|
|
|
|
|
|
Index: virt-manager-1.0.1/virtManager/engine.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/engine.py
|
|
+++ virt-manager-1.0.1/virtManager/engine.py
|
|
@@ -1176,6 +1176,9 @@ class vmmEngine(vmmGObject):
|
|
conn = self._lookup_conn(uri)
|
|
vm = conn.get_vm(uuid)
|
|
|
|
- if not self.delete_dialog:
|
|
- self.delete_dialog = vmmDeleteDialog()
|
|
- self.delete_dialog.show(vm, src.topwin)
|
|
+ try:
|
|
+ if not self.delete_dialog:
|
|
+ self.delete_dialog = vmmDeleteDialog()
|
|
+ self.delete_dialog.show(vm, src.topwin)
|
|
+ except Exception, e:
|
|
+ src.err.show_err(_("Error launching delete dialog: %s") % str(e))
|