some text tweaks. also, don't ask about PV vs FV if not on a FV capable box

This commit is contained in:
Jeremy Katz 2006-09-01 14:08:34 -04:00
parent c2ef1c9a65
commit 714814f2b5
2 changed files with 7 additions and 6 deletions

View File

@ -8245,7 +8245,7 @@ TB</property>
<child>
<widget class="GtkLabel" id="label247">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;span weight=&quot;heavy&quot; size=&quot;xx-large&quot; foreground=&quot;#FFF&quot;&gt;Finished creating a new virtual system&lt;/span&gt;</property>
<property name="label" translatable="yes">&lt;span weight=&quot;heavy&quot; size=&quot;xx-large&quot; foreground=&quot;#FFF&quot;&gt;Ready to begin installation&lt;/span&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_FILL</property>
@ -8286,9 +8286,7 @@ TB</property>
<child>
<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;.
You'll now be able to view and work with $SYSTEM_NAME in the virtual machine manager.</property>
<property name="label" translatable="yes">You are now ready to begin your installation of $SYSTEM_NAME. Once installation is complete, you will be able to view and work with $SYSTEM_NAME in the virtual machine manager.</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>

View File

@ -21,7 +21,7 @@ import gobject
import gtk
import gtk.gdk
import gtk.glade
import xeninst
import xeninst
import os, sys
import subprocess
import urlgrabber.grabber as grabber
@ -153,7 +153,10 @@ class vmmCreate(gobject.GObject):
if(self.validate(notebook.get_current_page()) != True):
return
if (notebook.get_current_page() == 2 and self.virt_method == VM_PARAVIRT):
if notebook.get_current_page() == 1 and not xeninst.util.is_hvm_capable():
notebook.set_current_page(4)
self.virt_method = VM_PARAVIRT
elif (notebook.get_current_page() == 2 and self.virt_method == VM_PARAVIRT):
notebook.set_current_page(4)
elif (notebook.get_current_page() == 3 and self.virt_method == VM_FULLY_VIRT):
notebook.set_current_page(5)