2010-11-18 14:37:30 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2012-02-14 12:47:26 +00:00
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2020-11-25 10:17:38 +13:00
|
|
|
<object class="GtkListStore" id="time_liststore">
|
2011-09-02 16:35:08 +01:00
|
|
|
<columns>
|
|
|
|
<!-- column-name name -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name value -->
|
|
|
|
<column type="gint"/>
|
|
|
|
</columns>
|
|
|
|
<data>
|
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">15 minutes</col>
|
2013-02-12 14:38:08 +01:00
|
|
|
<col id="1">900</col>
|
2011-09-02 16:35:08 +01:00
|
|
|
</row>
|
2018-01-25 10:34:06 +01:00
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">20 minutes</col>
|
2018-01-25 10:34:06 +01:00
|
|
|
<col id="1">1200</col>
|
|
|
|
</row>
|
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">25 minutes</col>
|
2018-01-25 10:34:06 +01:00
|
|
|
<col id="1">1500</col>
|
|
|
|
</row>
|
2011-09-02 16:35:08 +01:00
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">30 minutes</col>
|
2011-09-02 16:35:08 +01:00
|
|
|
<col id="1">1800</col>
|
|
|
|
</row>
|
2013-02-12 14:38:08 +01:00
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">45 minutes</col>
|
2013-02-12 14:38:08 +01:00
|
|
|
<col id="1">2700</col>
|
|
|
|
</row>
|
2011-09-02 16:35:08 +01:00
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">1 hour</col>
|
2011-09-02 16:35:08 +01:00
|
|
|
<col id="1">3600</col>
|
|
|
|
</row>
|
2013-02-12 14:38:08 +01:00
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">80 minutes</col>
|
2013-02-12 14:38:08 +01:00
|
|
|
<col id="1">4800</col>
|
|
|
|
</row>
|
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">90 minutes</col>
|
2019-05-02 13:28:09 +08:00
|
|
|
<col id="1">5400</col>
|
2013-02-12 14:38:08 +01:00
|
|
|
</row>
|
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">100 minutes</col>
|
2013-02-12 14:38:08 +01:00
|
|
|
<col id="1">6000</col>
|
|
|
|
</row>
|
|
|
|
<row>
|
2018-10-09 14:58:00 +02:00
|
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">2 hours</col>
|
2013-02-12 14:38:08 +01:00
|
|
|
<col id="1">7200</col>
|
|
|
|
</row>
|
2011-09-02 16:35:08 +01:00
|
|
|
</data>
|
2010-11-18 14:37:30 +00:00
|
|
|
</object>
|
2018-05-30 12:35:43 +12:00
|
|
|
<template class="CcPowerPanel" parent="CcPanel">
|
2017-08-07 15:22:16 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
2021-01-08 16:00:25 +01:00
|
|
|
<object class="GtkScrolledWindow">
|
2017-08-07 15:22:16 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2018-05-30 12:35:43 +12:00
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
<child>
|
2021-01-08 16:00:25 +01:00
|
|
|
<object class="HdyClamp">
|
2018-05-30 12:35:43 +12:00
|
|
|
<property name="visible">True</property>
|
2019-01-22 00:37:36 +01:00
|
|
|
<property name="margin_top">32</property>
|
|
|
|
<property name="margin_bottom">32</property>
|
|
|
|
<property name="margin_start">12</property>
|
|
|
|
<property name="margin_end">12</property>
|
2018-05-30 12:35:43 +12:00
|
|
|
<child>
|
2020-11-25 10:17:38 +13:00
|
|
|
<object class="GtkBox" id="power_vbox">
|
2018-05-30 12:35:43 +12:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">3</property>
|
|
|
|
<property name="hexpand">True</property>
|
2020-11-25 10:54:14 +13:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="battery_section">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="margin_bottom">32</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="battery_heading">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="battery_listbox" type="label-for"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkFrame">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="battery_listbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="battery_heading" type="labelled-by"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-11-25 11:04:34 +13:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="device_section">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="margin-top">6</property>
|
|
|
|
<property name="margin-bottom">32</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="device_heading">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="device_listbox" type="label-for"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkFrame">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="device_listbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="device_heading" type="labelled-by"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-11-25 11:19:12 +13:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="power_profile_section">
|
|
|
|
<property name="visible">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="margin_bottom">32</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="power_profile_heading">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="power_profile_listbox" type="label-for"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="margin-bottom">6</property>
|
|
|
|
<property name="label" translatable="yes">Affects system performance and power usage.</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkFrame">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="power_profile_listbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<signal name="row-activated" handler="power_profiles_row_activated_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="device_heading" type="labelled-by"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="margin_bottom">32</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="power_saving_heading">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="power_saving_listbox" type="label-for"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkFrame">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="power_saving_listbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<signal name="row-activated" handler="power_saving_listbox_row_activated_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="power_saving_heading" type="labelled-by"/>
|
|
|
|
</accessibility>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="brightness_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">_Screen Brightness</property>
|
|
|
|
<property name="use_underline">True</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="CcBrightnessScale" id="brightness_scale">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="device">screen</property>
|
|
|
|
<signal name="notify::has-brightness" handler="has_brightness_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="als_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">Automatic Brightness</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="GtkSwitch" id="als_switch">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="als_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="kbd_brightness_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">_Keyboard Brightness</property>
|
|
|
|
<property name="use_underline">True</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="CcBrightnessScale" id="kbd_brightness_scale">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="device">kbd</property>
|
|
|
|
<signal name="notify::has-brightness" handler="has_kbd_brightness_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="dim_screen_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">Dim Screen When Inactive</property>
|
|
|
|
<property name="activatable_widget">dim_screen_switch</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="GtkSwitch" id="dim_screen_switch">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-08 16:12:56 +01:00
|
|
|
<object class="HdyComboRow" id="blank_screen_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-08 16:12:56 +01:00
|
|
|
<property name="title" translatable="yes">_Blank Screen</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<signal name="notify::selected-index" handler="blank_screen_row_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="automatic_suspend_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">False</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">_Automatic Suspend</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="activatable">True</property>
|
|
|
|
<signal name="activated" handler="automatic_suspend_row_activated_cb" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="GtkLabel" id="automatic_suspend_label">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="halign">end</property>
|
|
|
|
<signal name="mnemonic-activate" handler="automatic_suspend_label_mnemonic_activate_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="wifi_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">False</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">_Wi-Fi</property>
|
|
|
|
<property name="subtitle" translatable="yes">Wi-Fi can be turned off to save power.</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="activatable_widget">wifi_switch</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="GtkSwitch" id="wifi_switch">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="wifi_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="mobile_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">False</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">_Mobile Broadband</property>
|
|
|
|
<property name="subtitle" translatable="yes">Mobile broadband (LTE, 4G, 3G, etc.) can be turned off to save power.</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="activatable_widget">mobile_switch</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="GtkSwitch" id="mobile_switch">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="mobile_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="bt_row">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">False</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">_Bluetooth</property>
|
|
|
|
<property name="subtitle" translatable="yes">Bluetooth can be turned off to save power.</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="activatable_widget">bt_switch</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="GtkSwitch" id="bt_switch">
|
2020-11-25 11:32:29 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="bt_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-11-25 11:46:05 +13:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="general_section">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="margin-top">6</property>
|
|
|
|
<property name="margin-bottom">32</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="general_heading">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="use-markup">True</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="general_listbox" type="label-for"/>
|
|
|
|
</accessibility>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkFrame">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="general_listbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<relation target="general_heading" type="labelled-by"/>
|
|
|
|
</accessibility>
|
|
|
|
<child>
|
2021-01-08 16:17:42 +01:00
|
|
|
<object class="HdyComboRow" id="power_button_row">
|
2020-11-25 11:46:05 +13:00
|
|
|
<property name="visible">False</property>
|
2021-01-08 16:17:42 +01:00
|
|
|
<property name="title" translatable="yes">Po_wer Button Behavior</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<signal name="notify::selected-index" handler="power_button_row_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
2020-11-25 11:46:05 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="HdyActionRow" id="battery_percentage_row">
|
2020-11-25 11:46:05 +13:00
|
|
|
<property name="visible">False</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="title" translatable="yes">Show Battery _Percentage</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="activatable_widget">battery_percentage_switch</property>
|
2020-11-25 11:46:05 +13:00
|
|
|
<child>
|
2021-01-07 10:59:00 +01:00
|
|
|
<object class="GtkSwitch" id="battery_percentage_switch">
|
2020-11-25 11:46:05 +13:00
|
|
|
<property name="visible">True</property>
|
2021-01-07 10:59:00 +01:00
|
|
|
<property name="valign">center</property>
|
2020-11-25 11:46:05 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2018-05-30 12:35:43 +12:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2012-11-26 00:51:26 -05:00
|
|
|
</object>
|
2017-08-07 15:22:16 +01:00
|
|
|
</child>
|
2018-05-30 12:35:43 +12:00
|
|
|
</template>
|
2020-11-25 10:22:29 +13:00
|
|
|
<object class="GtkSizeGroup" id="battery_row_sizegroup">
|
|
|
|
<property name="mode">vertical</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkSizeGroup" id="level_sizegroup">
|
|
|
|
<property name="mode">horizontal</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<widgets>
|
|
|
|
<widget name="brightness_scale"/>
|
|
|
|
<widget name="kbd_brightness_scale"/>
|
|
|
|
</widgets>
|
2020-11-25 10:22:29 +13:00
|
|
|
</object>
|
|
|
|
<object class="GtkSizeGroup" id="row_sizegroup">
|
|
|
|
<property name="mode">vertical</property>
|
2020-11-25 11:32:29 +13:00
|
|
|
<widgets>
|
|
|
|
<widget name="brightness_row"/>
|
|
|
|
<widget name="als_row"/>
|
|
|
|
<widget name="kbd_brightness_row"/>
|
|
|
|
<widget name="dim_screen_row"/>
|
|
|
|
<widget name="blank_screen_row"/>
|
|
|
|
<widget name="automatic_suspend_row"/>
|
|
|
|
<widget name="wifi_row"/>
|
|
|
|
<widget name="mobile_row"/>
|
|
|
|
<widget name="bt_row"/>
|
2020-11-25 11:46:05 +13:00
|
|
|
<widget name="power_button_row"/>
|
|
|
|
<widget name="battery_percentage_row"/>
|
2020-11-25 11:32:29 +13:00
|
|
|
</widgets>
|
2020-11-25 10:22:29 +13:00
|
|
|
</object>
|
2012-11-26 00:51:26 -05:00
|
|
|
|
|
|
|
<object class="GtkDialog" id="automatic_suspend_dialog">
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="border_width">5</property>
|
|
|
|
<property name="title" translatable="yes">Automatic Suspend</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
<property name="resizable">False</property>
|
2014-02-16 05:54:28 +02:00
|
|
|
<property name="use_header_bar">1</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<child internal-child="vbox">
|
2020-11-25 10:17:38 +13:00
|
|
|
<object class="GtkBox">
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">2</property>
|
|
|
|
<child>
|
2020-11-25 10:17:38 +13:00
|
|
|
<object class="GtkGrid">
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2013-11-19 22:28:13 +02:00
|
|
|
<property name="margin_start">12</property>
|
|
|
|
<property name="margin_end">6</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="margin_top">12</property>
|
|
|
|
<property name="margin_bottom">12</property>
|
|
|
|
<property name="row_spacing">12</property>
|
|
|
|
<property name="column_spacing">6</property>
|
2010-11-18 14:37:30 +00:00
|
|
|
<child>
|
2013-02-12 14:47:44 +01:00
|
|
|
<object class="GtkLabel" id="suspend_on_ac_label">
|
2010-11-18 14:37:30 +00:00
|
|
|
<property name="visible">True</property>
|
2013-02-12 14:47:44 +01:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="margin_top">12</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes">_Plugged In</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="mnemonic_widget">suspend_on_ac_switch</property>
|
2010-11-18 14:37:30 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="left_attach">0</property>
|
2013-02-12 14:47:44 +01:00
|
|
|
<property name="top_attach">2</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2010-11-18 14:37:30 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2013-02-18 14:51:54 +01:00
|
|
|
<object class="GtkLabel" id="suspend_on_battery_label">
|
2010-11-18 14:37:30 +00:00
|
|
|
<property name="visible">True</property>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes">On _Battery Power</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="mnemonic_widget">suspend_on_battery_switch</property>
|
2010-11-18 14:37:30 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">0</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2012-02-14 17:58:24 -05:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2013-02-18 14:51:54 +01:00
|
|
|
<object class="GtkSwitch" id="suspend_on_battery_switch">
|
2012-02-14 17:58:24 -05:00
|
|
|
<property name="visible">True</property>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="halign">end</property>
|
2012-02-14 17:58:24 -05:00
|
|
|
</object>
|
|
|
|
<packing>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="top_attach">0</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2010-11-18 14:37:30 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2013-02-18 14:51:54 +01:00
|
|
|
<object class="GtkComboBoxText" id="suspend_on_battery_delay_combo">
|
2010-11-18 14:37:30 +00:00
|
|
|
<property name="visible">True</property>
|
2011-09-02 16:35:08 +01:00
|
|
|
<property name="can_focus">False</property>
|
2013-02-12 14:47:44 +01:00
|
|
|
<property name="entry_text_column">0</property>
|
|
|
|
<property name="id_column">1</property>
|
2020-11-25 10:17:38 +13:00
|
|
|
<property name="model">time_liststore</property>
|
2011-10-19 16:26:23 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="top_attach">1</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2011-10-19 16:26:23 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2012-11-26 00:51:26 -05:00
|
|
|
<object class="GtkLabel" id="suspend_on_battery_delay_label">
|
2011-10-19 16:26:23 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2013-11-19 22:28:13 +02:00
|
|
|
<property name="margin_start">20</property>
|
2013-02-12 14:47:44 +01:00
|
|
|
<property name="xalign">1</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="label" translatable="yes">Delay</property>
|
2013-02-08 12:35:16 -05:00
|
|
|
<property name="mnemonic_widget">suspend_on_battery_delay_combo</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
2011-10-19 16:26:23 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="left_attach">1</property>
|
2013-02-12 14:47:44 +01:00
|
|
|
<property name="top_attach">1</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2011-10-19 16:26:23 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2013-02-18 14:51:54 +01:00
|
|
|
<object class="GtkSwitch" id="suspend_on_ac_switch">
|
2012-12-20 09:36:06 +01:00
|
|
|
<property name="visible">True</property>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<property name="margin_top">12</property>
|
2011-10-19 16:26:23 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="top_attach">2</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2011-10-19 16:26:23 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
2012-12-20 09:36:06 +01:00
|
|
|
<child>
|
2013-02-18 14:51:54 +01:00
|
|
|
<object class="GtkComboBoxText" id="suspend_on_ac_delay_combo">
|
2012-12-20 09:36:06 +01:00
|
|
|
<property name="visible">True</property>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="entry_text_column">0</property>
|
|
|
|
<property name="id_column">1</property>
|
2020-11-25 10:17:38 +13:00
|
|
|
<property name="model">time_liststore</property>
|
2012-12-20 09:36:06 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="top_attach">3</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2012-12-20 09:36:06 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2013-02-18 14:51:54 +01:00
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-25 10:17:38 +13:00
|
|
|
<object class="GtkLabel">
|
2012-12-20 09:36:06 +01:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2013-11-19 22:28:13 +02:00
|
|
|
<property name="margin_start">20</property>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="xalign">1</property>
|
|
|
|
<property name="label" translatable="yes">Delay</property>
|
|
|
|
<property name="mnemonic_widget">suspend_on_ac_delay_combo</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
2012-12-20 09:36:06 +01:00
|
|
|
</object>
|
|
|
|
<packing>
|
2013-02-18 14:51:54 +01:00
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">3</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="width">1</property>
|
|
|
|
<property name="height">1</property>
|
2012-12-20 09:36:06 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
2012-12-20 09:36:06 +01:00
|
|
|
</packing>
|
|
|
|
</child>
|
2010-11-18 14:37:30 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2010-11-18 17:23:50 +00:00
|
|
|
</object>
|
2010-11-18 14:37:30 +00:00
|
|
|
</interface>
|