diff options
author | raveit65 <[email protected]> | 2017-03-02 15:29:53 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-03-02 15:29:53 +0100 |
commit | f6cbf9cba969704f09ca849c14e75cf54eb56853 (patch) | |
tree | efc6b341334a7df9471ff5e9095175d495bd33c6 | |
parent | 1307a37384dea63285d4a7cc7e55a1db3e8b3e96 (diff) | |
download | mate-control-center-f6cbf9cba969704f09ca849c14e75cf54eb56853.tar.bz2 mate-control-center-f6cbf9cba969704f09ca849c14e75cf54eb56853.tar.xz |
keyboard-properties-layout-chooser.ui: avoid deprecated widgets
-rw-r--r-- | capplets/keyboard/mate-keyboard-properties-layout-chooser.ui | 247 |
1 files changed, 130 insertions, 117 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-layout-chooser.ui b/capplets/keyboard/mate-keyboard-properties-layout-chooser.ui index 29af8f40..698e716d 100644 --- a/capplets/keyboard/mate-keyboard-properties-layout-chooser.ui +++ b/capplets/keyboard/mate-keyboard-properties-layout-chooser.ui @@ -1,22 +1,90 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.0 --> <interface> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> + <requires lib="gtk+" version="3.14"/> + <!-- interface-license-type gplv2 --> + <!-- interface-name mate-keyboard-properties-layout-chooser --> + <!-- interface-description keyboard properties layout dialog window --> + <!-- interface-copyright MATE Developer --> + <!-- interface-authors Wolfgang Ulbrich --> <object class="GtkDialog" id="xkb_layout_chooser"> + <property name="name">xkb-layout-chooser</property> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">Choose a Layout</property> <property name="default_width">900</property> <property name="default_height">350</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox3"> + <object class="GtkBox" id="dialog-vbox3"> <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="hbtnBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="btnPrint"> + <property name="label">gtk-print</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + <property name="secondary">True</property> + </packing> + </child> + <child> + <object class="GtkButton" id="cancelbutton2"> + <property name="label">gtk-cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="btnOk1"> + <property name="label">gtk-add</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> <child> - <object class="GtkVBox" id="vbox40"> + <object class="GtkBox" id="vbox40"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">5</property> <property name="orientation">vertical</property> <property name="spacing">6</property> @@ -27,67 +95,63 @@ <child> <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="top_padding">6</property> <property name="bottom_padding">6</property> <property name="left_padding">10</property> <property name="right_padding">6</property> <child> - <object class="GtkTable" id="table1"> + <object class="GtkGrid" id="table1"> <property name="visible">True</property> - <property name="n_rows">2</property> - <property name="n_columns">2</property> - <property name="column_spacing">12</property> + <property name="can_focus">False</property> <property name="row_spacing">6</property> + <property name="column_spacing">12</property> <child> <object class="GtkComboBox" id="xkb_country_variants_available"> <property name="visible">True</property> + <property name="can_focus">False</property> </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> </packing> </child> <child> <object class="GtkComboBox" id="xkb_countries_available"> <property name="visible">True</property> + <property name="can_focus">False</property> </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkLabel" id="label4"> + <object class="GtkLabel" id="label3"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Variants:</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">_Country:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">xkb_country_variants_available</property> + <property name="mnemonic_widget">xkb_countries_available</property> </object> <packing> - <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkLabel" id="label3"> + <object class="GtkLabel" id="label4"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Country:</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">_Variants:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">xkb_countries_available</property> + <property name="mnemonic_widget">xkb_country_variants_available</property> </object> <packing> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> </object> @@ -97,6 +161,7 @@ <child type="tab"> <object class="GtkLabel" id="label22"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">By _country</property> <property name="use_underline">True</property> </object> @@ -107,67 +172,63 @@ <child> <object class="GtkAlignment" id="alignment2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="top_padding">6</property> <property name="bottom_padding">6</property> <property name="left_padding">10</property> <property name="right_padding">6</property> <child> - <object class="GtkTable" id="table3"> + <object class="GtkGrid" id="table3"> <property name="visible">True</property> - <property name="n_rows">2</property> - <property name="n_columns">2</property> - <property name="column_spacing">12</property> + <property name="can_focus">False</property> <property name="row_spacing">6</property> + <property name="column_spacing">12</property> <child> <object class="GtkComboBox" id="xkb_language_variants_available"> <property name="visible">True</property> + <property name="can_focus">False</property> </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> </packing> </child> <child> <object class="GtkComboBox" id="xkb_languages_available"> <property name="visible">True</property> + <property name="can_focus">False</property> </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkLabel" id="label13"> + <object class="GtkLabel" id="label12"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Variants:</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">_Language:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">xkb_country_variants_available</property> + <property name="mnemonic_widget">xkb_countries_available</property> </object> <packing> - <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkLabel" id="label12"> + <object class="GtkLabel" id="label13"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Language:</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">_Variants:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">xkb_countries_available</property> + <property name="mnemonic_widget">xkb_country_variants_available</property> </object> <packing> - <property name="x_options">GTK_FILL</property> - <property name="y_options"></property> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> </object> @@ -180,6 +241,7 @@ <child type="tab"> <object class="GtkLabel" id="label9"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">By _language</property> <property name="use_underline">True</property> </object> @@ -196,20 +258,23 @@ </packing> </child> <child> - <object class="GtkVBox" id="vboxPreview"> + <object class="GtkBox" id="vboxPreview"> + <property name="width_request">900</property> + <property name="height_request">400</property> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> - <property name="width_request">900</property> - <property name="height_request">400</property> <child> - <object class="GtkHBox" id="hbox1"> + <object class="GtkBox" id="hbox1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkLabel" id="label10"> <property name="visible">True</property> - <property name="xalign">0</property> + <property name="can_focus">False</property> + <property name="halign">start</property> <property name="label" translatable="yes">Preview:</property> </object> <packing> @@ -228,6 +293,7 @@ <child> <object class="GtkFrame" id="previewFrame"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label_xalign">0</property> <property name="shadow_type">in</property> <child> @@ -235,11 +301,15 @@ </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">1</property> </packing> </child> @@ -250,63 +320,6 @@ <property name="position">1</property> </packing> </child> - <child internal-child="action_area"> - <object class="GtkHButtonBox" id="hbtnBox"> - <property name="visible">True</property> - <property name="layout_style">end</property> - <child> - <object class="GtkButton" id="btnPrint"> - <property name="label">gtk-print</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - <property name="secondary">True</property> - </packing> - </child> - <child> - <object class="GtkButton" id="cancelbutton2"> - <property name="label">gtk-cancel</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkButton" id="btnOk1"> - <property name="label">gtk-add</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="pack_type">end</property> - <property name="position">0</property> - </packing> - </child> </object> </child> <action-widgets> |