2009-09-23 18:45:44 +04:00
<?xml version="1.0"?>
2008-08-15 19:24:24 +04:00
<glade-interface>
2009-09-23 18:45:44 +04:00
<!-- interface-requires gtk+ 2.6 -->
<!-- interface-naming-policy toplevel-contextual -->
2008-10-31 17:18:55 +03:00
<widget class="GtkWindow" id="vmm-create-vol">
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="border_width">12</property>
2008-10-31 17:18:55 +03:00
<property name="title" translatable="yes">Add a Storage Volume</property>
<property name="default_width">500</property>
<property name="default_height">320</property>
2009-09-23 18:45:44 +04:00
<property name="type_hint">dialog</property>
2008-10-31 17:18:55 +03:00
<signal name="delete_event" handler="on_vmm_create_vol_delete_event"/>
<child>
<widget class="GtkVBox" id="vbox1">
<property name="visible">True</property>
2009-09-23 18:45:44 +04:00
<property name="orientation">vertical</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">15</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkAlignment" id="alignment2">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="right_padding">1</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkVBox" id="vbox2">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 18:45:44 +04:00
<property name="orientation">vertical</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">12</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkVBox" id="vbox3">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="orientation">vertical</property>
2008-10-31 17:18:55 +03:00
<property name="spacing">3</property>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkHBox" id="hbox4">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">3</property>
<child>
<widget class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="stock">gtk-new</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="label" translatable="yes"><span size='x-large'>New Storage Volume</span></property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
2009-09-23 18:45:44 +04:00
<property name="position">0</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkLabel" id="label3">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="xalign">0</property>
<property name="label" translatable="yes">Create a storage unit that can be used directly by a virtual machine.</property>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
2009-09-23 18:45:44 +04:00
<property name="position">0</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkHBox" id="hbox5">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">20</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkVBox" id="vbox4">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 18:45:44 +04:00
<property name="orientation">vertical</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">10</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkTable" id="table1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="n_rows">2</property>
<property name="n_columns">2</property>
<property name="column_spacing">3</property>
<property name="row_spacing">5</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkHBox" id="hbox10">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">2</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkEntry" id="vol-name">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
2009-10-05 19:34:39 +04:00
<signal name="changed" handler="on_vol_name_changed"/>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
2009-09-23 18:45:44 +04:00
<property name="position">0</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkLabel" id="vol-name-suffix">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="label">suffix</property>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
2009-09-23 19:49:35 +04:00
<property name="y_options">GTK_FILL</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkComboBox" id="vol-format">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
2009-09-23 19:49:35 +04:00
<property name="y_options">GTK_FILL</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkLabel" id="label5">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="xalign">1</property>
<property name="label" translatable="yes">Format:</property>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
2009-09-23 19:49:35 +04:00
<property name="x_options">GTK_FILL</property>
2008-10-31 17:18:55 +03:00
<property name="y_options"></property>
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkLabel" id="label4">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="xalign">1</property>
<property name="label" translatable="yes">Name:</property>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
2009-09-23 19:49:35 +04:00
<property name="x_options">GTK_FILL</property>
2008-10-31 17:18:55 +03:00
<property name="y_options"></property>
</packing>
</child>
2009-09-23 19:49:35 +04:00
</widget>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox5">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkVBox" id="vbox6">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="orientation">vertical</property>
<child>
<widget class="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes"><span size='large'>Storage Volume Quota</span></property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<widget class="GtkHBox" id="hbox6">
<property name="visible">True</property>
<property name="spacing">3</property>
<child>
<widget class="GtkLabel" id="vol-parent-name">
<property name="visible">True</property>
<property name="label">(parent-name)</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="label" translatable="yes">available space:</property>
<property name="use_markup">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="vol-parent-space">
<property name="visible">True</property>
<property name="label">(space)</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">2</property>
</packing>
</child>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
2009-09-23 19:49:35 +04:00
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkTable" id="table2">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="border_width">8</property>
<property name="n_rows">2</property>
<property name="n_columns">3</property>
<property name="column_spacing">3</property>
<property name="row_spacing">5</property>
<child>
<widget class="GtkSpinButton" id="vol-capacity">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="adjustment">1 0 100000 1 10 0</property>
<property name="climb_rate">1</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="vol-allocation">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="adjustment">1 0 100000 1 10 0</property>
<property name="climb_rate">1</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">MB</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label8">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">MB</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">Allocation:</property>
</widget>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">Max Capacity:</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
2008-10-31 17:18:55 +03:00
</widget>
<packing>
2009-09-23 19:49:35 +04:00
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
</widget>
<packing>
<property name="position">1</property>
</packing>
</child>
</widget>
<packing>
2009-09-23 19:49:35 +04:00
<property name="position">0</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkScrolledWindow" id="scrolledwindow1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
<property name="vscrollbar_policy">never</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkViewport" id="vol-info-view">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="resize_mode">queue</property>
<property name="shadow_type">none</property>
<child>
<widget class="GtkLabel" id="vol-info">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
<property name="xpad">2</property>
<property name="ypad">2</property>
<property name="label" translatable="yes"><span size='small'><i><u>Name</u>: Name of the
2008-08-15 19:24:24 +04:00
volume to create. File
extension may be
appended
<u>Format</u>: File/Partition
format of the volume
<u>Capacity</u>: Maximum
size of the volume.
<u>Allocation</u>: Actual size
allocated to volume
at this time.</i></span></property>
2009-09-23 19:49:35 +04:00
<property name="use_markup">True</property>
</widget>
</child>
2008-10-31 17:18:55 +03:00
</widget>
</child>
</widget>
2009-09-23 19:49:35 +04:00
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
2008-10-31 17:18:55 +03:00
</child>
</widget>
<packing>
<property name="position">1</property>
</packing>
</child>
</widget>
</child>
</widget>
2009-09-23 18:45:44 +04:00
<packing>
<property name="position">0</property>
</packing>
2008-10-31 17:18:55 +03:00
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkHButtonBox" id="hbuttonbox1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">6</property>
<property name="layout_style">end</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkButton" id="pool-help">
<property name="label">gtk-help</property>
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
2008-10-31 17:18:55 +03:00
</widget>
2009-09-23 18:45:44 +04:00
<packing>
2009-09-23 19:49:35 +04:00
<property name="expand">False</property>
<property name="fill">False</property>
2009-09-23 18:45:44 +04:00
<property name="position">0</property>
2009-09-23 19:49:35 +04:00
<property name="secondary">True</property>
2009-09-23 18:45:44 +04:00
</packing>
2008-10-31 17:18:55 +03:00
</child>
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkButton" id="vol-cancel">
<property name="label">gtk-cancel</property>
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="on_vol_cancel_clicked"/>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="vol-create">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="on_vol_create_clicked"/>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkAlignment" id="alignment1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="xscale">0</property>
<property name="yscale">0</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkHBox" id="hbox7">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="spacing">2</property>
2008-10-31 17:18:55 +03:00
<child>
2009-09-23 19:49:35 +04:00
<widget class="GtkImage" id="image3">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
2009-09-23 19:49:35 +04:00
<property name="stock">gtk-quit</property>
2008-10-31 17:18:55 +03:00
</widget>
2009-09-23 19:49:35 +04:00
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label14">
<property name="visible">True</property>
<property name="label" translatable="yes">_Finish</property>
<property name="use_underline">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
2008-10-31 17:18:55 +03:00
</child>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="expand">False</property>
2009-09-23 19:49:35 +04:00
<property name="fill">False</property>
<property name="position">2</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
</widget>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
</widget>
</child>
</widget>
2008-08-15 19:24:24 +04:00
</glade-interface>