Forgot to add the system name to the last page, there it is

This commit is contained in:
Hugh O. Brock 2006-08-10 18:00:26 -04:00
parent 549316489f
commit cc4485c207
2 changed files with 8 additions and 1 deletions

View File

@ -8382,7 +8382,7 @@ TB</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkLabel" id="label258">
<widget class="GtkLabel" id="create-congrats-label">
<property name="visible">True</property>
<property name="label" translatable="yes">Congratulations, you have successfully created a new virtual system, &lt;b&gt;$SYSTEM_NAME&lt;/b&gt;.

View File

@ -231,6 +231,13 @@ class vmmCreate(gobject.GObject):
elif page_number == 7:
#set up the congrats page
congrats = self.window.get_widget("create-congrats-label")
# XXX the validation doesn't really go here
if self.vm_name == None: self.vm_name = "No Name"
congrats.set_text(_("Congratulations, you have successfully created a new virtual system, <b>\"%s\"</b>. \n\nYou'll now be able to view and work with \"%s\" in the virtual machine manager.") % (self.vm_name, self.vm_name) )
congrats.set_use_markup(True)
self.window.get_widget("create-forward").hide()
self.window.get_widget("create-finish").show()