766768c9d2
opensuse13.img for SLE-Server virtinst-detect-suse-distros.patch - bnc#881549 - virt-manager/xen: Error changing VM configuration: 'NoneType' object has no attribute 'split' virtinst-xenbus-disk-index-fix.patch - Upstream bug fix 538edb3b-manpage-fix-incorrect-description.patch - Upstream bug fixes 536677aa-better-handling-of-keyboard-input-type.patch 5385d602-lxc-no-default-disk.patch 53869170-virt-install-add-events-support.patch 538a11dc-raise-error-if-populating-summary-page-fails.patch 538a3609-virtconv-fix-use-of-relative-OVF-file.patch 538a3ba9-diskbackend-start-pool-if-not-running.patch 538ca3f3-use-correct-dictionary-keys-for-old-pool-net-polling.patch 538d00a4-xen-keyboard-cant-be-removed.patch 538e2f74-fix-pool-create-call.patch - Dropped 531e0a82-reverse-keyboard-grab-commit.patch. Fixed instead with this patch. 538a6862-vnc-dont-force-keyboard-grab-before-widget-is-realized.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=182
44 lines
1.8 KiB
Diff
44 lines
1.8 KiB
Diff
Subject: create: Raise error if populating summary page fails
|
|
From: Cole Robinson crobinso@redhat.com Sat May 31 13:31:08 2014 -0400
|
|
Date: Sat May 31 13:31:08 2014 -0400:
|
|
Git: 3654d56aa6a7f6749f74924a33a35ebdebdb8b8d
|
|
|
|
|
|
Index: virt-manager-1.0.1/virtManager/create.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/create.py
|
|
+++ virt-manager-1.0.1/virtManager/create.py
|
|
@@ -1340,20 +1340,24 @@ class vmmCreate(vmmGObjectUI):
|
|
self.widget("header-pagenum").set_markup(page_lbl)
|
|
|
|
def page_changed(self, ignore1, ignore2, pagenum):
|
|
- # Update page number
|
|
- self.set_page_num_text(pagenum)
|
|
-
|
|
- self.widget("create-back").set_sensitive(pagenum != PAGE_NAME)
|
|
- self.widget("create-forward").set_visible(pagenum != PAGE_FINISH)
|
|
- self.widget("create-finish").set_visible(pagenum == PAGE_FINISH)
|
|
-
|
|
if pagenum == PAGE_INSTALL:
|
|
self.detect_media_os()
|
|
self.widget("install-os-distro-box").set_visible(
|
|
not self.container_install())
|
|
elif pagenum == PAGE_FINISH:
|
|
+ try:
|
|
+ self.populate_summary()
|
|
+ except Exception, e:
|
|
+ self.err.show_err(_("Error populating summary page: %s") %
|
|
+ str(e))
|
|
+ return
|
|
+
|
|
self.widget("create-finish").grab_focus()
|
|
- self.populate_summary()
|
|
+
|
|
+ self.set_page_num_text(pagenum)
|
|
+ self.widget("create-back").set_sensitive(pagenum != PAGE_NAME)
|
|
+ self.widget("create-forward").set_visible(pagenum != PAGE_FINISH)
|
|
+ self.widget("create-finish").set_visible(pagenum == PAGE_FINISH)
|
|
|
|
for nr in range(self.widget("create-pages").get_n_pages()):
|
|
page = self.widget("create-pages").get_nth_page(nr)
|