mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
e6ae060ceb
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>
377 lines
16 KiB
XML
377 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.20.0 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.14"/>
|
|
<object class="GtkGrid" id="net-source-box">
|
|
<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="label1">
|
|
<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">_Bridge name:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">net-bridge-name</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label2">
|
|
<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">Source m_ode:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">net-source-mode</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="net-bridge-name">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="halign">start</property>
|
|
<property name="hexpand">True</property>
|
|
<signal name="changed" handler="on_net_bridge_name_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="net-macvtap-warn-box">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="hexpand">False</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkImage" id="image2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</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="label19">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="label" translatable="yes"><small>In most configurations, macvtap does not work for host to guest network communication.</small></property>
|
|
<property name="use_markup">True</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max_width_chars">35</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</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">4</property>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="net-source-mode">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="has_entry">True</property>
|
|
<signal name="changed" handler="on_net_source_mode_changed" swapped="no"/>
|
|
<child internal-child="entry">
|
|
<object class="GtkEntry" id="combobox-entry">
|
|
<property name="can_focus">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="box2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkComboBox" id="net-source">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="hexpand">False</property>
|
|
<signal name="changed" handler="on_net_source_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="net-source-warn">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="stock">gtk-dialog-warning</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</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>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
<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">_Portgroup:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">net-portgroup</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="net-portgroup">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="has_entry">True</property>
|
|
<signal name="changed" handler="on_net_portgroup_changed" swapped="no"/>
|
|
<child internal-child="entry">
|
|
<object class="GtkEntry" id="combobox-entry2">
|
|
<property name="can_focus">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<object class="GtkLabel" id="net-source-label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="valign">start</property>
|
|
<property name="margin_top">3</property>
|
|
<property name="margin_bottom">3</property>
|
|
<property name="label" translatable="yes">_Network source:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">net-source</property>
|
|
</object>
|
|
<object class="GtkExpander" id="vport-expander">
|
|
<property name="can_focus">True</property>
|
|
<child>
|
|
<object class="GtkBox" id="hbox1124">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkGrid" id="table10">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="row_spacing">3</property>
|
|
<property name="column_spacing">6</property>
|
|
<child>
|
|
<object class="GtkEntry" id="vport-instanceid">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="invisible_char">●</property>
|
|
<property name="width_chars">30</property>
|
|
<signal name="changed" handler="on_vport_instanceid_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="vport-instanceid-label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="valign">center</property>
|
|
<property name="label" translatable="yes">Ins_tance id:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">vport-instanceid</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="vport-typeidversion">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="invisible_char">●</property>
|
|
<property name="width_chars">30</property>
|
|
<signal name="changed" handler="on_vport_typeidversion_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="vport-typeidversion-label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="valign">center</property>
|
|
<property name="label" translatable="yes">Typ_eid version:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">vport-typeidversion</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="vport-typeid">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="invisible_char">●</property>
|
|
<property name="width_chars">30</property>
|
|
<signal name="changed" handler="on_vport_typeid_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="vport-typeid-label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="valign">center</property>
|
|
<property name="label" translatable="yes">T_ypeid:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">vport-typeid</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="vport-managerid">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="invisible_char">●</property>
|
|
<property name="width_chars">30</property>
|
|
<signal name="changed" handler="on_vport_managerid_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="vport-managerid-label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="valign">center</property>
|
|
<property name="label" translatable="yes">M_anagerid:</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">vport-managerid</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label33">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="valign">center</property>
|
|
<property name="label" translatable="yes">_Type:</property>
|
|
<property name="use_markup">True</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">vport-type</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="vport-type">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="invisible_char">●</property>
|
|
<property name="width_chars">30</property>
|
|
<signal name="changed" handler="on_vport_type_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="label8">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">Virtual _port</property>
|
|
<property name="use_markup">True</property>
|
|
<property name="use_underline">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|