virt-manager/ui/clone.ui

756 lines
38 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.36.0 -->
<interface>
<requires lib="gtk+" version="3.22"/>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-new</property>
</object>
<object class="GtkWindow" id="vmm-clone">
<property name="can_focus">False</property>
<property name="title" translatable="yes">Clone Virtual Machine</property>
<property name="type_hint">dialog</property>
<signal name="delete-event" handler="on_clone_delete_event" swapped="no"/>
<child>
<object class="GtkBox" id="vbox1">
2009-07-27 03:54:14 +08:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkViewport" id="header">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="resize_mode">queue</property>
<child>
<object class="GtkBox" id="hbox77">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="spacing">10</property>
<child>
<object class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">vm_clone_wizard</property>
<property name="icon_size">6</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="hbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">&lt;span size='large'&gt;Clone virtual machine&lt;/span&gt;</property>
<property name="use_markup">True</property>
<style>
<class name="vmm-header-text"/>
</style>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
<style>
<class name="vmm-header"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
2009-07-27 03:54:14 +08:00
<child>
<object class="GtkBox" id="vbox4">
2009-07-27 03:54:14 +08:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">12</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
2009-07-27 03:54:14 +08:00
<child>
<object class="GtkBox" id="vbox3">
2009-07-27 03:54:14 +08:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">24</property>
2009-07-27 03:54:14 +08:00
<child>
<object class="GtkBox" id="vbox5">
2009-07-27 03:54:14 +08:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
2009-07-27 03:54:14 +08:00
<child>
<object class="GtkGrid" id="grid1">
2009-07-27 03:54:14 +08:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkLabel" id="clone-orig-name">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label">orig name</property>
<property name="ellipsize">end</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Original VM:</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Connection:</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="clone-dest-host">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label">dest host</property>
<property name="ellipsize">end</property>
<property name="lines">0</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkGrid" id="table1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">12</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="hexpand">False</property>
<property name="label" translatable="yes">_Name:</property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">clone-new-name</property>
<style>
<class name="vmm-lighter"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="clone-new-name">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">start</property>
<property name="valign">start</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
<property name="hexpand">True</property>
<property name="invisible_char">●</property>
<property name="width_chars">30</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkScrolledWindow" id="storage-scroll">
<property name="height_request">200</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="storage-list">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child internal-child="selection">
<object class="GtkTreeSelection">
<signal name="changed" handler="on_storage_selection_changed" swapped="no"/>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject" id="storage-list-atkobject">
<property name="AtkObject::accessible-name">storage-list</property>
</object>
</child>
</object>
</child>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Storage:</property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">storage-list</property>
<style>
<class name="vmm-lighter"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="storage-details-button">
<property name="label" translatable="yes">_Details...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<signal name="clicked" handler="on_storage_details_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="box3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">3</property>
<child>
<object class="GtkImage" id="image5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">start</property>
<property name="stock">gtk-dialog-warning</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">&lt;span size='small'&gt;Cloning does &lt;u&gt;not&lt;/u&gt; alter the guest OS contents. If you need to do things
like change passwords or static IPs, please see the virt-sysprep(1) tool.&lt;/span&gt;</property>
<property name="use_markup">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButtonBox" id="hbuttonbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="clone-cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="on_clone_cancel_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="clone-ok">
<property name="label" translatable="yes">C_lone</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="image">image1</property>
<property name="use_underline">True</property>
<signal name="clicked" handler="on_clone_ok_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
<child type="titlebar">
<placeholder/>
</child>
</object>
<object class="GtkDialog" id="vmm-change-storage">
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Change storage path</property>
<property name="window_position">center-on-parent</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
<signal name="delete-event" handler="on_vmm_change_storage_delete_event" swapped="no"/>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child internal-child="action_area">
<object class="GtkButtonBox" id="dialog-action_area2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="change-storage-cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="on_change_storage_cancel_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="change-storage-ok">
<property name="label">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="on_change_storage_ok_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="vbox2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<object class="GtkGrid" id="table4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="column_spacing">6</property>
<child>
<object class="GtkAlignment" id="alignment6">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="left_padding">18</property>
<property name="right_padding">18</property>
<child>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-harddisk</property>
<property name="icon_size">6</property>
</object>
</child>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<object class="GtkGrid" id="table5">
<property name="visible">True</property>
<property name="can_focus">False</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="row_spacing">6</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="column_spacing">12</property>
<child>
<object class="GtkLabel" id="change-storage-size">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label">size</property>
</object>
2009-07-27 03:54:14 +08:00
<packing>
<property name="left_attach">1</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="change-storage-target">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label">target</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="change-storage-orig">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label">orig-path</property>
<property name="selectable">True</property>
<property name="ellipsize">start</property>
</object>
<packing>
<property name="left_attach">1</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label15">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
<property name="valign">end</property>
<property name="label" translatable="yes">Size:</property>
<property name="use_markup">True</property>
<style>
<class name="vmm-lighter"/>
</style>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label14">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Target:</property>
<property name="use_markup">True</property>
<style>
<class name="vmm-lighter"/>
</style>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label13">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="valign">center</property>
<property name="label" translatable="yes">Path:</property>
<property name="use_markup">True</property>
<style>
<class name="vmm-lighter"/>
</style>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">0</property>
2009-07-27 03:54:14 +08:00
</packing>
</child>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
2009-07-27 03:54:14 +08:00
</child>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Existing disk</property>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">2</property>
</packing>
2009-07-27 03:54:14 +08:00
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
2009-07-27 03:54:14 +08:00
</child>
<child>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<object class="GtkGrid" id="table3">
2009-07-27 03:54:14 +08:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="row_spacing">6</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="column_spacing">6</property>
<child>
<object class="GtkAlignment" id="alignment5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">New _Path:</property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">change-storage-new</property>
</object>
</child>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="change-storage-doclone">
<property name="label" translatable="yes">Create a new disk (c_lone) for the virtual machine</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">start</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_change_storage_doclone_toggled" swapped="no"/>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 21:08:40 +08:00
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">3</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="change-storage-new">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="width_chars">25</property>
<child internal-child="accessible">
<object class="AtkObject" id="change-storage-new-atkobject">
<property name="AtkObject::accessible-name">new-path</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="change-storage-browse">
<property name="label" translatable="yes">_Browse...</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<signal name="clicked" handler="on_change_storage_browse_clicked" swapped="no"/>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
</packing>
</child>
</object>
2009-07-27 03:54:14 +08:00
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
2009-07-27 03:54:14 +08:00
<property name="position">1</property>
</packing>
</child>
</object>
2009-07-27 03:54:14 +08:00
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
2009-07-27 03:54:14 +08:00
</packing>
</child>
</object>
2009-07-27 03:54:14 +08:00
</child>
<action-widgets>
<action-widget response="0">change-storage-cancel</action-widget>
<action-widget response="0">change-storage-ok</action-widget>
</action-widgets>
<child type="titlebar">
<placeholder/>
</child>
</object>
</interface>