2010-11-18 14:37:30 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
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">
|
2023-08-02 19:21:33 +04:00
|
|
|
<property name="child">
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="AdwToolbarView">
|
|
|
|
<child type="top">
|
2023-08-02 19:21:33 +04:00
|
|
|
<object class="AdwHeaderBar"/>
|
2021-01-07 14:37:56 +01:00
|
|
|
</child>
|
2023-07-30 21:38:11 +04:00
|
|
|
|
|
|
|
<property name="content">
|
|
|
|
<object class="AdwPreferencesPage">
|
2021-01-07 14:37:56 +01:00
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="AdwPreferencesGroup" id="battery_section">
|
2020-11-25 11:04:34 +13:00
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="GtkListBox" id="battery_listbox">
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<relation name="labelled-by">battery_section</relation>
|
|
|
|
</accessibility>
|
|
|
|
<style>
|
|
|
|
<class name="boxed-list"/>
|
|
|
|
</style>
|
2020-11-25 11:04:34 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-01-07 14:37:56 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="AdwPreferencesGroup" id="device_section">
|
2023-10-19 11:03:49 +01:00
|
|
|
<property name="title" translatable="yes">Connected Devices</property>
|
2021-01-07 14:37:56 +01:00
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="GtkListBox" id="device_listbox">
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<accessibility>
|
|
|
|
<relation name="labelled-by">device_section</relation>
|
|
|
|
</accessibility>
|
|
|
|
<style>
|
|
|
|
<class name="boxed-list"/>
|
|
|
|
</style>
|
2021-01-07 14:37:56 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="AdwPreferencesGroup" id="power_profile_section">
|
2021-07-21 12:29:55 +02:00
|
|
|
<property name="visible">False</property>
|
2023-07-30 21:38:11 +04:00
|
|
|
<property name="title" translatable="yes">Power Mode</property>
|
2021-07-21 12:29:55 +02:00
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="GtkListBox" id="power_profile_listbox">
|
|
|
|
<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 name="labelled-by">power_profile_section</relation>
|
|
|
|
</accessibility>
|
|
|
|
<style>
|
|
|
|
<class name="boxed-list"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="power_profile_info_listbox">
|
|
|
|
<property name="visible">False</property>
|
|
|
|
<property name="selection-mode">none</property>
|
|
|
|
<property name="margin_top">12</property>
|
|
|
|
<signal name="keynav-failed" handler="keynav_failed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="boxed-list"/>
|
|
|
|
</style>
|
2021-07-21 12:29:55 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-01-07 14:37:56 +01:00
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="AdwPreferencesGroup" id="power_saving_section">
|
2023-10-19 11:03:49 +01:00
|
|
|
<property name="title" translatable="yes">Power Saving</property>
|
2021-01-07 14:37:56 +01:00
|
|
|
<child>
|
2024-01-16 19:06:55 -05:00
|
|
|
<object class="AdwSwitchRow" id="als_row">
|
2023-09-27 00:03:47 -03:00
|
|
|
<property name="title" translatable="yes">A_utomatic Screen Brightness</property>
|
2024-02-10 17:35:11 -05:00
|
|
|
<property name="subtitle" translatable="yes">Adjust screen brightness to the surrounding light</property>
|
2023-09-27 00:03:47 -03:00
|
|
|
<property name="use_underline">True</property>
|
2024-01-16 19:06:55 -05:00
|
|
|
<signal name="notify::active" handler="als_row_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
2021-01-07 14:37:56 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
2022-01-21 12:16:31 -03:00
|
|
|
<child>
|
2024-01-16 19:06:55 -05:00
|
|
|
<object class="AdwSwitchRow" id="dim_screen_row">
|
2023-09-27 00:03:47 -03:00
|
|
|
<property name="title" translatable="yes">_Dim Screen</property>
|
2024-02-10 17:35:11 -05:00
|
|
|
<property name="subtitle" translatable="yes">Reduce screen brightness when the computer is inactive</property>
|
2023-09-27 00:03:47 -03:00
|
|
|
<property name="use_underline">True</property>
|
2023-07-30 21:38:11 +04:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="AdwComboRow" id="blank_screen_row">
|
|
|
|
<property name="title" translatable="yes">Screen _Blank</property>
|
2024-02-10 17:35:11 -05:00
|
|
|
<property name="subtitle" translatable="yes">Turn the screen off after a period of inactivity</property>
|
2023-07-30 21:38:11 +04:00
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<signal name="notify::selected-item" handler="blank_screen_row_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2024-01-16 19:06:55 -05:00
|
|
|
<object class="AdwSwitchRow" id="power_saver_low_battery_row">
|
2023-07-30 21:38:11 +04:00
|
|
|
<property name="visible">False</property>
|
2023-09-27 00:03:47 -03:00
|
|
|
<property name="title" translatable="yes">Automatic Power _Saver</property>
|
2024-02-10 17:35:11 -05:00
|
|
|
<property name="subtitle" translatable="yes">Turn on power saver mode when battery power is low</property>
|
2023-07-30 21:38:11 +04:00
|
|
|
<property name="use_underline">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="AdwActionRow" id="automatic_suspend_row">
|
|
|
|
<property name="visible">False</property>
|
|
|
|
<property name="title" translatable="yes">_Automatic Suspend</property>
|
2024-02-10 17:35:11 -05:00
|
|
|
<property name="subtitle" translatable="yes">Pause the computer after a period of inactivity</property>
|
2023-07-30 21:38:11 +04:00
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="activatable">True</property>
|
|
|
|
<signal name="activated" handler="automatic_suspend_row_activated_cb" swapped="yes"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="automatic_suspend_label">
|
|
|
|
<property name="halign">end</property>
|
|
|
|
<signal name="mnemonic-activate" handler="automatic_suspend_label_mnemonic_activate_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="icon-name">go-next-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2022-01-21 12:16:31 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-01-07 14:37:56 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="AdwPreferencesGroup" id="general_section">
|
2023-10-19 11:03:49 +01:00
|
|
|
<property name="title" translatable="yes">General</property>
|
2020-11-25 11:46:05 +13:00
|
|
|
<child>
|
2023-07-30 21:38:11 +04:00
|
|
|
<object class="AdwComboRow" id="power_button_row">
|
|
|
|
<property name="visible">False</property>
|
|
|
|
<property name="title" translatable="yes">Po_wer Button Behavior</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<signal name="notify::selected-item" handler="power_button_row_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2024-01-16 19:06:55 -05:00
|
|
|
<object class="AdwSwitchRow" id="battery_percentage_row">
|
2023-07-30 21:38:11 +04:00
|
|
|
<property name="visible">False</property>
|
|
|
|
<property name="title" translatable="yes">Show Battery _Percentage</property>
|
|
|
|
<property name="subtitle" translatable="yes">Show exact charge level in the top bar</property>
|
|
|
|
<property name="use_underline">True</property>
|
2020-11-25 11:46:05 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-01-07 14:37:56 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2023-07-30 21:38:11 +04:00
|
|
|
</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
</object>
|
2023-08-02 19:21:33 +04:00
|
|
|
</property>
|
2018-05-30 12:35:43 +12:00
|
|
|
</template>
|
2012-11-26 00:51:26 -05:00
|
|
|
|
2023-07-30 21:43:12 +04:00
|
|
|
<object class="AdwWindow" id="automatic_suspend_dialog">
|
2012-11-26 00:51:26 -05:00
|
|
|
<property name="title" translatable="yes">Automatic Suspend</property>
|
2021-10-20 23:07:53 -03:00
|
|
|
<property name="hide-on-close">True</property>
|
2023-11-05 15:53:18 +01:00
|
|
|
<property name="destroy-with-parent">True</property>
|
|
|
|
<property name="default-width">400</property>
|
|
|
|
<property name="default-height">330</property>
|
|
|
|
<property name="width-request">360</property>
|
|
|
|
<property name="height-request">294</property>
|
2021-10-20 23:07:53 -03:00
|
|
|
<child>
|
2023-07-30 21:43:12 +04:00
|
|
|
<object class="GtkShortcutController">
|
|
|
|
<property name="scope">managed</property>
|
2012-11-26 00:51:26 -05:00
|
|
|
<child>
|
2023-07-30 21:43:12 +04:00
|
|
|
<object class="GtkShortcut">
|
|
|
|
<property name="trigger">Escape</property>
|
|
|
|
<property name="action">action(window.close)</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<property name="content">
|
|
|
|
<object class="AdwToolbarView">
|
|
|
|
<child type="top">
|
|
|
|
<object class="AdwHeaderBar"/>
|
|
|
|
</child>
|
|
|
|
<property name="content">
|
2023-12-21 15:44:36 -05:00
|
|
|
<object class="AdwPreferencesPage">
|
2010-11-18 14:37:30 +00:00
|
|
|
<child>
|
2023-12-21 15:44:36 -05:00
|
|
|
<object class="AdwPreferencesGroup" id="suspend_on_battery_group">
|
|
|
|
<child>
|
|
|
|
<object class="AdwSwitchRow" id="suspend_on_battery_switch_row">
|
|
|
|
<property name="title" translatable="yes">On _Battery Power</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2023-07-30 21:43:12 +04:00
|
|
|
<child>
|
2023-12-21 15:44:36 -05:00
|
|
|
<object class="AdwActionRow">
|
|
|
|
<property name="activatable-widget">suspend_on_battery_delay_combo</property>
|
2024-01-04 20:28:40 -03:00
|
|
|
<property name="title" translatable="yes">_Delay</property>
|
|
|
|
<property name="use_underline">True</property>
|
2023-11-05 15:53:18 +01:00
|
|
|
<child>
|
2023-12-21 15:44:36 -05:00
|
|
|
<object class="GtkComboBoxText" id="suspend_on_battery_delay_combo">
|
|
|
|
<property name="entry_text_column">0</property>
|
|
|
|
<property name="id_column">1</property>
|
|
|
|
<property name="model">time_liststore</property>
|
|
|
|
<property name="valign">center</property>
|
2023-11-05 15:53:18 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
2023-12-21 15:44:36 -05:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="AdwPreferencesGroup">
|
|
|
|
<child>
|
|
|
|
<object class="AdwSwitchRow" id="suspend_on_ac_switch_row">
|
|
|
|
<property name="title" translatable="yes">_Plugged In</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="AdwActionRow">
|
2024-01-04 20:28:40 -03:00
|
|
|
<property name="title" translatable="yes">D_elay</property>
|
|
|
|
<property name="use_underline">True</property>
|
2023-12-21 15:44:36 -05:00
|
|
|
<property name="activatable-widget">suspend_on_ac_delay_combo</property>
|
2023-11-05 15:53:18 +01:00
|
|
|
<child>
|
2023-12-21 15:44:36 -05:00
|
|
|
<object class="GtkComboBoxText" id="suspend_on_ac_delay_combo">
|
|
|
|
<property name="entry_text_column">0</property>
|
|
|
|
<property name="id_column">1</property>
|
|
|
|
<property name="model">time_liststore</property>
|
|
|
|
<property name="valign">center</property>
|
2023-11-05 15:53:18 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
2023-07-30 21:43:12 +04:00
|
|
|
</object>
|
|
|
|
</child>
|
2012-12-20 09:36:06 +01:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2023-07-30 21:43:12 +04:00
|
|
|
</property>
|
2010-11-18 14:37:30 +00:00
|
|
|
</object>
|
2023-07-30 21:43:12 +04:00
|
|
|
</property>
|
2010-11-18 17:23:50 +00:00
|
|
|
</object>
|
2010-11-18 14:37:30 +00:00
|
|
|
</interface>
|