summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2018-04-14 19:57:43 -0400
committerlukefromdc <[email protected]>2018-04-14 19:57:43 -0400
commitf853512c166566d0978430e28dca23f97110daae (patch)
tree83b5414422ad1728b35015f2e75fd2758b7ff7b3
parentd1aee5af0f3a7c32a5c040f241fa4305346f1a13 (diff)
downloadmate-panel-f853512c166566d0978430e28dca23f97110daae.tar.bz2
mate-panel-f853512c166566d0978430e28dca23f97110daae.tar.xz
Revert "panel-test-applets.ui: avoid deprecated:"
This reverts commit d1aee5af0f3a7c32a5c040f241fa4305346f1a13.
-rw-r--r--mate-panel/panel-test-applets.ui179
1 files changed, 83 insertions, 96 deletions
diff --git a/mate-panel/panel-test-applets.ui b/mate-panel/panel-test-applets.ui
index 3c38347e..923ab27e 100644
--- a/mate-panel/panel-test-applets.ui
+++ b/mate-panel/panel-test-applets.ui
@@ -1,198 +1,144 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.0 -->
+<?xml version="1.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="icon_name">system-run</property>
- </object>
- <object class="GtkImage" id="image2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="icon_name">window-close</property>
- </object>
+ <!-- interface-requires gtk+ 2.6 -->
+ <!-- interface-naming-policy toplevel-contextual -->
<object class="GtkDialog" id="toplevel">
<property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="title" translatable="yes" comments="This is an utility to easily test various applets">Test applet utility</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
- <signal name="destroy" handler="gtk_main_quit" swapped="no"/>
+ <signal name="destroy" handler="gtk_main_quit"/>
<child internal-child="vbox">
- <object class="GtkBox" id="dialog-vbox1">
+ <object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">8</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="ok-button">
- <property name="label" translatable="yes">_Execute</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="image">image1</property>
- <property name="use_underline">True</property>
- <signal name="clicked" handler="on_execute_button_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="button1">
- <property name="label" translatable="yes">_Close</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="image">image2</property>
- <property name="use_underline">True</property>
- <signal name="clicked" handler="gtk_main_quit" 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">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
- <object class="GtkGrid" id="table2">
+ <object class="GtkTable" id="table2">
<property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="border_width">2</property>
- <property name="row_spacing">4</property>
+ <property name="n_rows">5</property>
+ <property name="n_columns">2</property>
<property name="column_spacing">4</property>
+ <property name="row_spacing">4</property>
<child>
<object class="GtkLabel" id="size-label">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">_Size:</property>
<property name="use_underline">True</property>
<property name="justify">center</property>
<property name="mnemonic_widget">size-combo</property>
- <property name="xalign">1</property>
</object>
<packing>
- <property name="left_attach">0</property>
<property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
</packing>
</child>
<child>
<object class="GtkLabel" id="applet-label">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">_Applet:</property>
<property name="use_underline">True</property>
<property name="justify">center</property>
<property name="mnemonic_widget">applet-combo</property>
- <property name="xalign">1</property>
</object>
<packing>
- <property name="left_attach">0</property>
- <property name="top_attach">0</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
</packing>
</child>
<child>
<object class="GtkLabel" id="orient-label">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">_Orientation:</property>
<property name="use_underline">True</property>
<property name="justify">center</property>
<property name="mnemonic_widget">orient-combo</property>
- <property name="xalign">1</property>
</object>
<packing>
- <property name="left_attach">0</property>
<property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
</packing>
</child>
<child>
<object class="GtkLabel" id="prefs-label">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">_Prefs Path:</property>
<property name="use_underline">True</property>
<property name="justify">center</property>
<property name="mnemonic_widget">prefs-path-entry</property>
- <property name="xalign">1</property>
</object>
<packing>
- <property name="left_attach">0</property>
<property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
</packing>
</child>
<child>
<object class="GtkEntry" id="prefs-path-entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="hexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
+ <property name="right_attach">2</property>
<property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="y_options"></property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="applet-combo">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
- <property name="top_attach">0</property>
+ <property name="right_attach">2</property>
+ <property name="y_options">GTK_FILL</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="orient-combo">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
+ <property name="right_attach">2</property>
<property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="y_options">GTK_FILL</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="size-combo">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
+ <property name="right_attach">2</property>
<property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
+ <property name="y_options">GTK_FILL</property>
</packing>
</child>
<child>
- <object class="GtkSeparator" id="hseparator2">
+ <object class="GtkHSeparator" id="hseparator2">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="valign">center</property>
</object>
<packing>
- <property name="left_attach">0</property>
+ <property name="right_attach">2</property>
<property name="top_attach">1</property>
- <property name="width">2</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options">GTK_FILL</property>
</packing>
</child>
</object>
@@ -202,14 +148,55 @@
<property name="position">1</property>
</packing>
</child>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="ok-button">
+ <property name="label">gtk-execute</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>
+ <signal name="clicked" handler="on_execute_button_clicked"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button1">
+ <property name="label">gtk-close</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>
+ <signal name="clicked" handler="gtk_main_quit"/>
+ </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">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
</object>
</child>
<action-widgets>
<action-widget response="0">ok-button</action-widget>
<action-widget response="-7">button1</action-widget>
</action-widgets>
- <child>
- <placeholder/>
- </child>
</object>
</interface>