mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-28 07:21:44 +03:00
some text tweaks. also, don't ask about PV vs FV if not on a FV capable box
This commit is contained in:
parent
c2ef1c9a65
commit
714814f2b5
@ -8245,7 +8245,7 @@ TB</property>
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label247">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"><span weight="heavy" size="xx-large" foreground="#FFF">Finished creating a new virtual system</span></property>
|
||||
<property name="label" translatable="yes"><span weight="heavy" size="xx-large" foreground="#FFF">Ready to begin installation</span></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, <b>$SYSTEM_NAME</b>.
|
||||
|
||||
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>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user