diff options
author | Viktor Odintsev <ninetls@xfce.org> | 2017-12-04 14:15:31 +0300 |
---|---|---|
committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2017-12-19 00:57:00 +0100 |
commit | ebb984e33b6daf6ce320140ff4c31d533d6a3cee (patch) | |
tree | 37263a4738238f0d88d07efc3d75889b5c2652f2 /data | |
parent | c4677e8ed8dff04a9e219cc2f5ecab1afcb87006 (diff) | |
download | ixfce4-power-manager-ebb984e33b6daf6ce320140ff4c31d533d6a3cee.tar.gz |
Add support for XF86Battery button (Bug #14055)
Diffstat (limited to 'data')
-rw-r--r-- | data/interfaces/xfpm-settings.ui | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui index 143d1d29..bd09980e 100644 --- a/data/interfaces/xfpm-settings.ui +++ b/data/interfaces/xfpm-settings.ui @@ -345,6 +345,18 @@ </packing> </child> <child> + <object class="GtkLabel" id="button-battery-label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">When battery button is pressed:</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> <object class="GtkComboBox" id="button-power-combo"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -399,6 +411,24 @@ </packing> </child> <child> + <object class="GtkComboBox" id="button-battery-combo"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <signal name="changed" handler="button_battery_changed_cb" swapped="no"/> + <child> + <object class="GtkCellRendererText" id="renderer5"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> <object class="GtkSwitch" id="handle-brightness-keys"> <property name="visible">True</property> <property name="can_focus">True</property> @@ -406,7 +436,7 @@ </object> <packing> <property name="left_attach">1</property> - <property name="top_attach">3</property> + <property name="top_attach">4</property> </packing> </child> <child> @@ -420,7 +450,7 @@ </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">3</property> + <property name="top_attach">4</property> </packing> </child> </object> |