1041 lines
60 KiB
XML
1041 lines
60 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkListStore" id="time_liststore">
|
|
<columns>
|
|
<!-- column-name name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name value -->
|
|
<column type="gint"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">15 minutes</col>
|
|
<col id="1">900</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">20 minutes</col>
|
|
<col id="1">1200</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">25 minutes</col>
|
|
<col id="1">1500</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">30 minutes</col>
|
|
<col id="1">1800</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">45 minutes</col>
|
|
<col id="1">2700</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">1 hour</col>
|
|
<col id="1">3600</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">80 minutes</col>
|
|
<col id="1">4800</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">90 minutes</col>
|
|
<col id="1">5400</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">100 minutes</col>
|
|
<col id="1">6000</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for "Delay" in "Automatic suspend" dialog.">2 hours</col>
|
|
<col id="1">7200</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<object class="GtkListStore" id="idle_time_liststore">
|
|
<columns>
|
|
<!-- column-name name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name value -->
|
|
<column type="gint"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">1 minute</col>
|
|
<col id="1">60</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">2 minutes</col>
|
|
<col id="1">120</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">3 minutes</col>
|
|
<col id="1">180</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">4 minutes</col>
|
|
<col id="1">240</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">5 minutes</col>
|
|
<col id="1">300</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">8 minutes</col>
|
|
<col id="1">480</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">10 minutes</col>
|
|
<col id="1">600</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">12 minutes</col>
|
|
<col id="1">720</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">15 minutes</col>
|
|
<col id="1">900</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank screen" in "Power" panel.">Never</col>
|
|
<col id="1">0</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<object class="GtkListStore" id="power_button_liststore">
|
|
<columns>
|
|
<!-- column-name name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name value -->
|
|
<column type="gint"/>
|
|
</columns>
|
|
</object>
|
|
<template class="CcPowerPanel" parent="CcPanel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="main_scroll">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<child>
|
|
<object class="HdyClamp" id="main_box">
|
|
<property name="visible">True</property>
|
|
<property name="margin_top">32</property>
|
|
<property name="margin_bottom">32</property>
|
|
<property name="margin_start">12</property>
|
|
<property name="margin_end">12</property>
|
|
<child>
|
|
<object class="GtkBox" id="power_vbox">
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<object class="GtkListBoxRow" id="brightness_row">
|
|
<property name="visible">True</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="brightness_label">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">_Screen Brightness</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">brightness_scale</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="spacing">12</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="brightness_spacer">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="CcBrightnessScale" id="brightness_scale">
|
|
<property name="visible">True</property>
|
|
<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"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="als_row">
|
|
<property name="visible">True</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">Automatic Brightness</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="expand">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">als_switch</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="als_switch">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
<signal name="notify::active" handler="als_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="kbd_brightness_row">
|
|
<property name="visible">True</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="kbd_brightness_label">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">_Keyboard Brightness</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">kbd_brightness_scale</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="spacing">12</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="kbd_brightness_spacer">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="CcBrightnessScale" id="kbd_brightness_scale">
|
|
<property name="visible">True</property>
|
|
<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"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="dim_screen_row">
|
|
<property name="visible">True</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">Dim Screen When Inactive</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="expand">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">dim_screen_switch</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="dim_screen_switch">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="blank_screen_row">
|
|
<property name="visible">True</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">_Blank Screen</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="expand">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">idle_delay_combo</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="idle_delay_combo">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="entry-text-column">0</property>
|
|
<property name="model">idle_time_liststore</property>
|
|
<signal name="changed" handler="idle_delay_combo_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="automatic_suspend_row">
|
|
<property name="visible">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">_Automatic Suspend</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="expand">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">automatic_suspend_label</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="automatic_suspend_label">
|
|
<property name="visible">True</property>
|
|
<property name="halign">end</property>
|
|
<signal name="mnemonic-activate" handler="automatic_suspend_label_mnemonic_activate_cb" object="CcPowerPanel" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="wifi_row">
|
|
<property name="visible">False</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="spacing">4</property>
|
|
<property name="valign">center</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">_Wi-Fi</property>
|
|
<property name="halign">start</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">wifi_switch</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">Wi-Fi can be turned off to save power.</property>
|
|
<property name="halign">start</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="scale" value="0.9"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="wifi_switch">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
<signal name="notify::active" handler="wifi_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="mobile_row">
|
|
<property name="visible">False</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="spacing">4</property>
|
|
<property name="valign">center</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">_Mobile Broadband</property>
|
|
<property name="halign">start</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">mobile_switch</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">Mobile broadband (LTE, 4G, 3G, etc.) can be turned off to save power.</property>
|
|
<property name="halign">start</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="scale" value="0.9"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="mobile_switch">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
<signal name="notify::active" handler="mobile_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="bt_row">
|
|
<property name="visible">False</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="spacing">4</property>
|
|
<property name="valign">center</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">_Bluetooth</property>
|
|
<property name="halign">start</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">bt_switch</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">Bluetooth can be turned off to save power.</property>
|
|
<property name="halign">start</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="scale" value="0.9"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="bt_switch">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
<signal name="notify::active" handler="bt_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<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>
|
|
<object class="GtkListBoxRow" id="power_button_row">
|
|
<property name="visible">False</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">Po_wer Button Behavior</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="expand">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">power_button_combo</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="power_button_combo">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="entry-text-column">0</property>
|
|
<property name="model">power_button_liststore</property>
|
|
<signal name="changed" handler="power_button_combo_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBoxRow" id="battery_percentage_row">
|
|
<property name="visible">False</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="use-markup">True</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="label" translatable="yes">Show Battery _Percentage</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<property name="expand">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="mnemonic_widget">battery_percentage_switch</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="battery_percentage_switch">
|
|
<property name="visible">True</property>
|
|
<property name="valign">center</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
<object class="GtkSizeGroup" id="battery_row_sizegroup">
|
|
<property name="mode">vertical</property>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="battery_sizegroup">
|
|
<property name="mode">horizontal</property>
|
|
<widgets>
|
|
<widget name="brightness_label"/>
|
|
<widget name="kbd_brightness_label"/>
|
|
</widgets>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="charge_sizegroup">
|
|
<property name="mode">horizontal</property>
|
|
<widgets>
|
|
<widget name="brightness_spacer"/>
|
|
<widget name="kbd_brightness_spacer"/>
|
|
</widgets>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="level_sizegroup">
|
|
<property name="mode">horizontal</property>
|
|
<widgets>
|
|
<widget name="brightness_scale"/>
|
|
<widget name="kbd_brightness_scale"/>
|
|
</widgets>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="row_sizegroup">
|
|
<property name="mode">vertical</property>
|
|
<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"/>
|
|
<widget name="power_button_row"/>
|
|
<widget name="battery_percentage_row"/>
|
|
</widgets>
|
|
</object>
|
|
|
|
<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>
|
|
<property name="use_header_bar">1</property>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_start">12</property>
|
|
<property name="margin_end">6</property>
|
|
<property name="margin_top">12</property>
|
|
<property name="margin_bottom">12</property>
|
|
<property name="row_spacing">12</property>
|
|
<property name="column_spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="suspend_on_ac_label">
|
|
<property name="visible">True</property>
|
|
<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>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="suspend_on_battery_label">
|
|
<property name="visible">True</property>
|
|
<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>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="suspend_on_battery_switch">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="halign">end</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="suspend_on_battery_delay_combo">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="entry_text_column">0</property>
|
|
<property name="id_column">1</property>
|
|
<property name="model">time_liststore</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="suspend_on_battery_delay_label">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_start">20</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">Delay</property>
|
|
<property name="mnemonic_widget">suspend_on_battery_delay_combo</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSwitch" id="suspend_on_ac_switch">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="halign">end</property>
|
|
<property name="margin_top">12</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">2</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="suspend_on_ac_delay_combo">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="entry_text_column">0</property>
|
|
<property name="id_column">1</property>
|
|
<property name="model">time_liststore</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="top_attach">3</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_start">20</property>
|
|
<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>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|