diff options
author | raveit65 <[email protected]> | 2016-07-07 20:32:44 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-20 11:27:26 +0200 |
commit | 037a30d0cfe7a331c943681ff87cb8e8673708d2 (patch) | |
tree | cd831a94d05f33a6da067b64748d6b4b5adc2f47 /src | |
parent | 4b852ce952d1f6902acbcf315d6ef08d1ba36e0d (diff) | |
download | mate-terminal-037a30d0cfe7a331c943681ff87cb8e8673708d2.tar.bz2 mate-terminal-037a30d0cfe7a331c943681ff87cb8e8673708d2.tar.xz |
profile-new-dialog.ui: avoid deprecated GtkTable and Gtk{H/V}Box
updated UI file to gtk+-3.14
Diffstat (limited to 'src')
-rw-r--r-- | src/profile-new-dialog.ui | 202 |
1 files changed, 77 insertions, 125 deletions
diff --git a/src/profile-new-dialog.ui b/src/profile-new-dialog.ui index a8fa410..851a115 100644 --- a/src/profile-new-dialog.ui +++ b/src/profile-new-dialog.ui @@ -1,103 +1,83 @@ -<?xml version="1.0"?> -<!--*- mode: xml -*--> +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.0 --> <interface> + <requires lib="gtk+" version="3.14"/> <object class="GtkDialog" id="new-profile-dialog"> + <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">New Profile</property> - <property name="type">GTK_WINDOW_TOPLEVEL</property> - <property name="window_position">GTK_WIN_POS_NONE</property> - <property name="modal">False</property> <property name="resizable">False</property> - <property name="destroy_with_parent">False</property> - <property name="decorated">True</property> - <property name="skip_taskbar_hint">False</property> - <property name="skip_pager_hint">False</property> - <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> - <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> - <property name="focus_on_map">True</property> - <property name="urgency_hint">False</property> + <property name="type_hint">dialog</property> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox5"> + <object class="GtkBox" id="dialog-vbox5"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">2</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area5"> + <object class="GtkButtonBox" id="dialog-action_area5"> <property name="visible">True</property> - <property name="layout_style">GTK_BUTTONBOX_END</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="homogeneous">True</property> + <property name="layout_style">end</property> <child> <object class="GtkButton" id="new-profile-cancel-button"> + <property name="label">gtk-cancel</property> <property name="visible">True</property> - <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-cancel</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="focus_on_click">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="new-profile-create-button"> <property name="visible">True</property> <property name="sensitive">False</property> - <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="focus_on_click">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> <child> <object class="GtkAlignment" id="alignment34"> <property name="visible">True</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> + <property name="can_focus">False</property> <property name="xscale">0</property> <property name="yscale">0</property> - <property name="top_padding">0</property> - <property name="bottom_padding">0</property> - <property name="left_padding">0</property> - <property name="right_padding">0</property> <child> - <object class="GtkHBox" id="hbox10"> + <object class="GtkBox" id="hbox10"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> <property name="spacing">2</property> <child> <object class="GtkImage" id="icon-1212"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="stock">gtk-apply</property> - <property name="icon_size">4</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">False</property> + <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="create-button"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">C_reate</property> <property name="use_underline">True</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">False</property> + <property name="position">1</property> </packing> </child> </object> @@ -105,132 +85,104 @@ </object> </child> </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">True</property> - <property name="pack_type">GTK_PACK_END</property> + <property name="pack_type">end</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkVBox" id="vbox7"> - <property name="border_width">5</property> + <object class="GtkBox" id="vbox7"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">0</property> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="orientation">vertical</property> <child> - <object class="GtkTable" id="new-profile-table"> + <object class="GtkGrid" id="new-profile-grid"> <property name="visible">True</property> - <property name="n_rows">2</property> - <property name="n_columns">2</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> <property name="row_spacing">6</property> <property name="column_spacing">12</property> <child> - <object class="GtkVBox" id="vbox77"> + <object class="GtkEntry" id="new-profile-name-entry"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">6</property> - <child> - <placeholder/> - </child> + <property name="can_focus">True</property> + <property name="width_chars">14</property> + <property name="primary_icon_activatable">False</property> + <property name="secondary_icon_activatable">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="left_attach">2</property> + <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkLabel" id="new-profile-name-label"> <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> <property name="label" translatable="yes">Profile _name:</property> <property name="use_underline">True</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="mnemonic_widget">new-profile-name-entry</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> </object> <packing> <property name="left_attach">0</property> - <property name="right_attach">1</property> <property name="top_attach">0</property> - <property name="bottom_attach">1</property> - <property name="x_options">fill</property> - <property name="y_options"/> </packing> </child> <child> - <object class="GtkEntry" id="new-profile-name-entry"> + <object class="GtkLabel" id="new-profile-base-label"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="editable">True</property> - <property name="visibility">True</property> - <property name="max_length">0</property> - <property name="text" translatable="yes"/> - <property name="has_frame">True</property> - <property name="activates_default">False</property> - <property name="width_chars">14</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">_Base on:</property> + <property name="use_underline">True</property> </object> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">0</property> - <property name="bottom_attach">1</property> - <property name="y_options"/> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> <child> - <object class="GtkLabel" id="new-profile-base-label"> + <object class="GtkBox" id="vbox77"> <property name="visible">True</property> - <property name="label" translatable="yes">_Base on:</property> - <property name="use_underline">True</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <placeholder/> + </child> </object> <packing> - <property name="left_attach">0</property> - <property name="right_attach">1</property> - <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">fill</property> - <property name="y_options"/> + <property name="left_attach">1</property> + <property name="top_attach">0</property> </packing> </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">0</property> </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> |