create: Don't cap storage size, just defer to warnings.

This commit is contained in:
Cole Robinson 2010-02-28 20:56:41 -05:00
parent 8344a977c1
commit 5db35b24d5
2 changed files with 3 additions and 2 deletions

View File

@ -907,7 +907,6 @@ class vmmCreate(gobject.GObject):
self.pretty_storage(max_storage))
hd_label = ("<span color='#484848'>%s</span>" % hd_label)
self.window.get_widget("phys-hd-label").set_markup(hd_label)
self.window.get_widget("config-storage-size").set_range(1, self.host_storage)
return 1

View File

@ -1175,13 +1175,15 @@ User shouldn't see this.</property>
<widget class="GtkSpinButton" id="config-storage-size">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="width_chars">5</property>
<property name="xalign">1</property>
<property name="adjustment">2 0 1000000 0.10000000000000001 10 0</property>
<property name="adjustment">0 0 1000000 0.10000000000000001 10 0</property>
<property name="climb_rate">1</property>
<property name="digits">1</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>