diff options
author | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2015-03-02 00:16:24 +0100 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2015-03-22 14:52:40 +0300 |
commit | 91541ccf47c5786c42848c03078e2043cc0b5812 (patch) | |
tree | 898ca9845084889a235f977378b5d45e3b63c9cd /data | |
parent | 2087d60f7f535d920ba7590535ee42ba0c2fe394 (diff) | |
download | ixfce4-power-manager-91541ccf47c5786c42848c03078e2043cc0b5812.tar.gz |
Port settings dialog to Gtk3
Diffstat (limited to 'data')
-rw-r--r-- | data/interfaces/xfpm-settings.ui | 279 |
1 files changed, 110 insertions, 169 deletions
diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui index 5b2cf6d3..01594350 100644 --- a/data/interfaces/xfpm-settings.ui +++ b/data/interfaces/xfpm-settings.ui @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.18.3 --> <interface> - <!-- interface-requires libxfce4ui 4.5 --> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> + <requires lib="libxfce4ui" version="4.5"/> + <requires lib="gtk+" version="3.10"/> <object class="GtkAdjustment" id="brightness-inactivity-on-ac-adjustment"> <property name="lower">9</property> <property name="upper">120</property> @@ -227,11 +227,12 @@ <property name="type_hint">dialog</property> <property name="subtitle" translatable="yes">Power manager settings</property> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox"> + <object class="GtkBox" id="dialog-vbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area"> + <object class="GtkButtonBox" id="dialog-action_area"> <property name="visible">True</property> <property name="can_focus">False</property> <child> @@ -266,23 +267,24 @@ <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="GtkVBox" id="plug-child"> + <object class="GtkBox" id="plug-child"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <child> <object class="GtkNotebook" id="main-notebook"> <property name="visible">True</property> <property name="can_focus">True</property> <child> - <object class="GtkVBox" id="vbox1"> + <object class="GtkBox" id="vbox1"> <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">6</property> <child> <object class="GtkFrame" id="buttons-frame"> @@ -298,18 +300,17 @@ <property name="bottom_padding">18</property> <property name="left_padding">12</property> <child> - <object class="GtkVBox" id="vbox2"> + <object class="GtkBox" id="vbox2"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">5</property> <child> - <object class="GtkTable" id="table1"> + <object class="GtkGrid" id="table1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="n_rows">4</property> - <property name="n_columns">2</property> - <property name="column_spacing">6</property> <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <child> <object class="GtkLabel" id="button-power-label"> <property name="visible">True</property> @@ -318,7 +319,8 @@ <property name="label" translatable="yes">When power button is pressed:</property> </object> <packing> - <property name="x_options">GTK_FILL</property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -329,9 +331,8 @@ <property name="label" translatable="yes">When sleep button is pressed:</property> </object> <packing> + <property name="left_attach">0</property> <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> </packing> </child> <child> @@ -342,15 +343,15 @@ <property name="label" translatable="yes">When hibernate button is pressed:</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> </packing> </child> <child> <object class="GtkComboBox" id="button-power-combo"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <signal name="changed" handler="button_power_changed_cb" swapped="no"/> <child> <object class="GtkCellRendererText" id="renderer1"/> @@ -361,13 +362,14 @@ </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> + <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkComboBox" id="button-sleep-combo"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <signal name="changed" handler="button_sleep_changed_cb" swapped="no"/> <child> <object class="GtkCellRendererText" id="renderer4"/> @@ -378,15 +380,14 @@ </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> </packing> </child> <child> <object class="GtkComboBox" id="button-hibernate-combo"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <signal name="changed" handler="button_hibernate_changed_cb" swapped="no"/> <child> <object class="GtkCellRendererText" id="renderer3"/> @@ -397,9 +398,7 @@ </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> </packing> </child> <child> @@ -409,18 +408,19 @@ <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="use_underline">True</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="brightness_handle_keys_toggled_cb" swapped="no"/> </object> <packing> - <property name="right_attach">2</property> + <property name="left_attach">0</property> <property name="top_attach">3</property> - <property name="bottom_attach">4</property> + <property name="width">2</property> </packing> </child> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> @@ -457,13 +457,11 @@ <property name="bottom_padding">18</property> <property name="left_padding">18</property> <child> - <object class="GtkTable" id="table5"> + <object class="GtkGrid" id="table5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="n_rows">2</property> - <property name="n_columns">3</property> - <property name="column_spacing">18</property> <property name="row_spacing">6</property> + <property name="column_spacing">18</property> <child> <object class="GtkLabel" id="lid-on-battery-header"> <property name="visible">True</property> @@ -473,7 +471,7 @@ </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -485,7 +483,7 @@ </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -496,15 +494,15 @@ <property name="label" translatable="yes">When laptop lid is closed:</property> </object> <packing> + <property name="left_attach">0</property> <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkComboBox" id="lid-on-battery-combo"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <signal name="changed" handler="on_battery_lid_changed_cb" swapped="no"/> <child> <object class="GtkCellRendererText" id="renderer9"/> @@ -515,15 +513,14 @@ </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> </packing> </child> <child> <object class="GtkComboBox" id="lid-on-ac-combo"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <signal name="changed" handler="on_ac_lid_changed_cb" swapped="no"/> <child> <object class="GtkCellRendererText" id="renderer10"/> @@ -534,41 +531,12 @@ </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</property> <property name="top_attach">1</property> - <property name="bottom_attach">2</property> </packing> </child> <child> <placeholder/> </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> </object> </child> </object> @@ -602,9 +570,10 @@ <property name="bottom_padding">18</property> <property name="left_padding">12</property> <child> - <object class="GtkVBox" id="vbox10"> + <object class="GtkBox" id="vbox10"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="show-notifications"> @@ -612,6 +581,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="notify_toggled_cb" swapped="no"/> </object> @@ -627,6 +597,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="systray_toggled_cb" swapped="no"/> </object> @@ -672,10 +643,11 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox3"> + <object class="GtkBox" id="vbox3"> <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">6</property> <child> <object class="GtkFrame" id="system-sleep-frame"> @@ -691,13 +663,11 @@ <property name="bottom_padding">6</property> <property name="left_padding">12</property> <child> - <object class="GtkTable" id="table2"> + <object class="GtkGrid" id="table2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="n_rows">3</property> - <property name="n_columns">3</property> - <property name="column_spacing">18</property> <property name="row_spacing">6</property> + <property name="column_spacing">18</property> <child> <object class="GtkLabel" id="system-sleep-on-battery-header"> <property name="visible">True</property> @@ -707,7 +677,7 @@ </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -719,7 +689,7 @@ </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -730,16 +700,14 @@ <property name="label" translatable="yes">When inactive for</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> </packing> </child> <child> - <object class="GtkHScale" id="system-sleep-inactivity-on-battery"> + <object class="GtkScale" id="system-sleep-inactivity-on-battery"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">system-sleep-inactivity-on-battery-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -749,16 +717,13 @@ </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> </packing> </child> <child> - <object class="GtkHScale" id="system-sleep-inactivity-on-ac"> + <object class="GtkScale" id="system-sleep-inactivity-on-ac"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">system-sleep-inactivity-on-ac-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -768,9 +733,7 @@ </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</property> <property name="top_attach">2</property> - <property name="bottom_attach">3</property> </packing> </child> <child> @@ -781,16 +744,15 @@ <property name="label" translatable="yes">System sleep mode:</property> </object> <packing> + <property name="left_attach">0</property> <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options">GTK_FILL</property> </packing> </child> <child> <object class="GtkComboBox" id="system-sleep-mode-on-battery"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <signal name="changed" handler="on_battery_sleep_mode_changed_cb" swapped="no"/> <child> <object class="GtkCellRendererText" id="renderer8"/> @@ -801,15 +763,14 @@ </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> </packing> </child> <child> <object class="GtkComboBox" id="system-sleep-mode-on-ac"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <signal name="changed" handler="on_ac_sleep_mode_changed_cb" swapped="no"/> <child> <object class="GtkCellRendererText" id="renderer2"/> @@ -820,35 +781,12 @@ </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</property> <property name="top_attach">1</property> - <property name="bottom_attach">2</property> </packing> </child> <child> <placeholder/> </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> </object> </child> </object> @@ -883,12 +821,13 @@ <property name="bottom_padding">12</property> <property name="left_padding">6</property> <child> - <object class="GtkVBox" id="vbox4"> + <object class="GtkBox" id="vbox4"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">3</property> <child> - <object class="GtkHBox" id="hbox2"> + <object class="GtkBox" id="hbox2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> @@ -913,8 +852,6 @@ <property name="width_chars">4</property> <property name="primary_icon_activatable">False</property> <property name="secondary_icon_activatable">False</property> - <property name="primary_icon_sensitive">True</property> - <property name="secondary_icon_sensitive">True</property> <property name="adjustment">critical-power-level-spin-adjustment</property> <signal name="output" handler="critical_spin_output_cb" swapped="no"/> <signal name="value-changed" handler="critical_level_value_changed_cb" swapped="no"/> @@ -933,7 +870,7 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox3"> + <object class="GtkBox" id="hbox3"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> @@ -1009,9 +946,10 @@ <property name="bottom_padding">12</property> <property name="left_padding">6</property> <child> - <object class="GtkVBox" id="vbox11"> + <object class="GtkBox" id="vbox11"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="lock-screen"> @@ -1019,6 +957,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="lock_screen_toggled_cb" swapped="no"/> </object> @@ -1064,10 +1003,11 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox6"> + <object class="GtkBox" id="vbox6"> <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">18</property> <child> <object class="GtkFrame" id="dpms-frame"> @@ -1083,9 +1023,10 @@ <property name="bottom_padding">12</property> <property name="left_padding">12</property> <child> - <object class="GtkVBox" id="vbox9"> + <object class="GtkBox" id="vbox9"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">12</property> <child> <object class="GtkCheckButton" id="handle-dpms"> @@ -1093,6 +1034,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="dpms_toggled_cb" swapped="no"/> </object> @@ -1103,14 +1045,15 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox7"> + <object class="GtkBox" id="hbox7"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkVBox" id="vbox13"> + <object class="GtkBox" id="vbox13"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="homogeneous">True</property> <child> <object class="GtkLabel" id="display-blank-label"> @@ -1159,19 +1102,21 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox14"> + <object class="GtkBox" id="vbox14"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="homogeneous">True</property> <child> - <object class="GtkHBox" id="hbox9"> + <object class="GtkBox" id="hbox9"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkVBox" id="display-blank-on-battery-vbox"> + <object class="GtkBox" id="display-blank-on-battery-vbox"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <child> <object class="GtkLabel" id="dpms-on-battery-header"> <property name="visible">True</property> @@ -1187,10 +1132,9 @@ </packing> </child> <child> - <object class="GtkHScale" id="display-blank-on-battery"> + <object class="GtkScale" id="display-blank-on-battery"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">display-blank-on-battery-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1230,10 +1174,9 @@ </packing> </child> <child> - <object class="GtkHScale" id="display-blank-on-ac"> + <object class="GtkScale" id="display-blank-on-ac"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">display-blank-on-ac-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1262,15 +1205,14 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox10"> + <object class="GtkBox" id="hbox10"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkHScale" id="dpms-sleep-on-battery"> + <object class="GtkScale" id="dpms-sleep-on-battery"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">dpms-sleep-on-battery-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1285,10 +1227,9 @@ </packing> </child> <child> - <object class="GtkHScale" id="dpms-sleep-on-ac"> + <object class="GtkScale" id="dpms-sleep-on-ac"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">dpms-sleep-on-ac-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1310,15 +1251,14 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox11"> + <object class="GtkBox" id="hbox11"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkHScale" id="dpms-off-on-battery"> + <object class="GtkScale" id="dpms-off-on-battery"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">dpms-off-on-battery-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1333,10 +1273,9 @@ </packing> </child> <child> - <object class="GtkHScale" id="dpms-off-on-ac"> + <object class="GtkScale" id="dpms-off-on-ac"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">dpms-off-on-ac-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1403,18 +1342,20 @@ <property name="bottom_padding">12</property> <property name="left_padding">12</property> <child> - <object class="GtkVBox" id="vbox5"> + <object class="GtkBox" id="vbox5"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</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="GtkVBox" id="vbox12"> + <object class="GtkBox" id="vbox12"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="homogeneous">True</property> <child> <object class="GtkLabel" id="brightness-level-label"> @@ -1450,19 +1391,21 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox15"> + <object class="GtkBox" id="vbox15"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="homogeneous">True</property> <child> - <object class="GtkHBox" id="hbox5"> + <object class="GtkBox" id="hbox5"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkVBox" id="vbox18"> + <object class="GtkBox" id="vbox18"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <child> <object class="GtkLabel" id="brightness-on-battery-header"> <property name="visible">True</property> @@ -1478,10 +1421,9 @@ </packing> </child> <child> - <object class="GtkHScale" id="brightness-level-on-battery"> + <object class="GtkScale" id="brightness-level-on-battery"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">brightness-level-on-battery-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1503,9 +1445,10 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox19"> + <object class="GtkBox" id="vbox19"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <child> <object class="GtkLabel" id="brightness-plugged-in-header"> <property name="visible">True</property> @@ -1521,10 +1464,9 @@ </packing> </child> <child> - <object class="GtkHScale" id="brightness-level-on-ac"> + <object class="GtkScale" id="brightness-level-on-ac"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">brightness-level-on-ac-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1553,15 +1495,14 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox6"> + <object class="GtkBox" id="hbox6"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> - <object class="GtkHScale" id="brightness-inactivity-on-battery"> + <object class="GtkScale" id="brightness-inactivity-on-battery"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">brightness-inactivity-on-battery-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1576,10 +1517,9 @@ </packing> </child> <child> - <object class="GtkHScale" id="brightness-inactivity-on-ac"> + <object class="GtkScale" id="brightness-inactivity-on-ac"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">brightness-inactivity-on-ac-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1650,10 +1590,11 @@ </packing> </child> <child> - <object class="GtkVBox" id="light-locker-vbox1"> + <object class="GtkBox" id="light-locker-vbox1"> <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">6</property> <child> <object class="GtkFrame" id="light-locker-frame"> @@ -1669,18 +1610,17 @@ <property name="bottom_padding">18</property> <property name="left_padding">12</property> <child> - <object class="GtkVBox" id="light-locker-vbox2"> + <object class="GtkBox" id="light-locker-vbox2"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">5</property> <child> - <object class="GtkTable" id="light-locker-table"> + <object class="GtkGrid" id="light-locker-table"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="n_rows">3</property> - <property name="n_columns">2</property> - <property name="column_spacing">6</property> <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <child> <object class="GtkLabel" id="light-locker-automatic-locking-label"> <property name="visible">True</property> @@ -1689,7 +1629,8 @@ <property name="label" translatable="yes">Automatically lock the session:</property> </object> <packing> - <property name="x_options">GTK_FILL</property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -1708,7 +1649,7 @@ </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -1719,15 +1660,14 @@ <property name="label" translatable="yes">Delay locking after screensaver for</property> </object> <packing> + <property name="left_attach">0</property> <property name="top_attach">1</property> - <property name="x_options">GTK_FILL</property> </packing> </child> <child> - <object class="GtkHScale" id="light-locker-late-locking-scale"> + <object class="GtkScale" id="light-locker-late-locking-scale"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="update_policy">discontinuous</property> <property name="adjustment">light-locker-late-locking-adjustment</property> <property name="round_digits">0</property> <property name="digits">0</property> @@ -1737,9 +1677,7 @@ </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> </packing> </child> <child> @@ -1748,15 +1686,18 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="xalign">0.5</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="lock_screen_toggled_cb" swapped="no"/> </object> <packing> - <property name="right_attach">2</property> + <property name="left_attach">0</property> <property name="top_attach">2</property> - <property name="bottom_attach">3</property> </packing> </child> + <child> + <placeholder/> + </child> </object> <packing> <property name="expand">False</property> |