power: Fix the indentation
The indentation was purposefully left incorrect in the previous commits to ease the review of the actual changes, this fixes it.
This commit is contained in:
parent
a5c0934b4d
commit
a75a0f0384
1 changed files with 216 additions and 216 deletions
|
@ -57,238 +57,238 @@
|
|||
<child>
|
||||
<object class="HdyPreferencesPage">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="battery_section">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Battery</property>
|
||||
<accessibility>
|
||||
<relation target="battery_listbox" type="label-for"/>
|
||||
</accessibility>
|
||||
<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_section" type="labelled-by"/>
|
||||
</accessibility>
|
||||
<style>
|
||||
<class name="content"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="device_section">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Devices</property>
|
||||
<accessibility>
|
||||
<relation target="device_listbox" type="label-for"/>
|
||||
</accessibility>
|
||||
<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_section" type="labelled-by"/>
|
||||
</accessibility>
|
||||
<style>
|
||||
<class name="content"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="power_profile_section">
|
||||
<property name="visible">False</property>
|
||||
<property name="title" translatable="yes">Power Mode</property>
|
||||
<property name="description" translatable="yes">Affects system performance and power usage.</property>
|
||||
<accessibility>
|
||||
<relation target="power_profile_listbox" type="label-for"/>
|
||||
</accessibility>
|
||||
<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="power_profile_section" type="labelled-by"/>
|
||||
</accessibility>
|
||||
<style>
|
||||
<class name="content"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="power_saving_section">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Power Saving</property>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="brightness_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">_Screen Brightness</property>
|
||||
<property name="use_underline">True</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="battery_section">
|
||||
<object class="CcBrightnessScale" id="brightness_scale">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Battery</property>
|
||||
<accessibility>
|
||||
<relation target="battery_listbox" type="label-for"/>
|
||||
</accessibility>
|
||||
<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_section" type="labelled-by"/>
|
||||
</accessibility>
|
||||
<style>
|
||||
<class name="content"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="als_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Automatic Brightness</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="device_section">
|
||||
<object class="GtkSwitch" id="als_switch">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Devices</property>
|
||||
<accessibility>
|
||||
<relation target="device_listbox" type="label-for"/>
|
||||
</accessibility>
|
||||
<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_section" type="labelled-by"/>
|
||||
</accessibility>
|
||||
<style>
|
||||
<class name="content"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<property name="valign">center</property>
|
||||
<signal name="notify::active" handler="als_switch_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="kbd_brightness_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">_Keyboard Brightness</property>
|
||||
<property name="use_underline">True</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="power_profile_section">
|
||||
<property name="visible">False</property>
|
||||
<property name="title" translatable="yes">Power Mode</property>
|
||||
<property name="description" translatable="yes">Affects system performance and power usage.</property>
|
||||
<accessibility>
|
||||
<relation target="power_profile_listbox" type="label-for"/>
|
||||
</accessibility>
|
||||
<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="power_profile_section" type="labelled-by"/>
|
||||
</accessibility>
|
||||
<style>
|
||||
<class name="content"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="power_saving_section">
|
||||
<object class="CcBrightnessScale" id="kbd_brightness_scale">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Power Saving</property>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="brightness_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">_Screen Brightness</property>
|
||||
<property name="use_underline">True</property>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="als_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Automatic Brightness</property>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="kbd_brightness_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">_Keyboard Brightness</property>
|
||||
<property name="use_underline">True</property>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="dim_screen_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Dim Screen When Inactive</property>
|
||||
<property name="activatable_widget">dim_screen_switch</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="dim_screen_switch">
|
||||
<property name="visible">True</property>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyComboRow" id="blank_screen_row">
|
||||
<property name="visible">True</property>
|
||||
<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"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="automatic_suspend_row">
|
||||
<property name="visible">False</property>
|
||||
<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"/>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="wifi_row">
|
||||
<property name="visible">False</property>
|
||||
<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>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="mobile_row">
|
||||
<property name="visible">False</property>
|
||||
<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>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="bt_row">
|
||||
<property name="visible">False</property>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="dim_screen_row">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Dim Screen When Inactive</property>
|
||||
<property name="activatable_widget">dim_screen_switch</property>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="general_section">
|
||||
<object class="GtkSwitch" id="dim_screen_switch">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Suspend & Power Button</property>
|
||||
<child>
|
||||
<object class="HdyComboRow" 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-index" handler="power_button_row_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="battery_percentage_row">
|
||||
<property name="visible">False</property>
|
||||
<property name="title" translatable="yes">Show Battery _Percentage</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="activatable_widget">battery_percentage_switch</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="battery_percentage_switch">
|
||||
<property name="visible">True</property>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyComboRow" id="blank_screen_row">
|
||||
<property name="visible">True</property>
|
||||
<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"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="automatic_suspend_row">
|
||||
<property name="visible">False</property>
|
||||
<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"/>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="wifi_row">
|
||||
<property name="visible">False</property>
|
||||
<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>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="mobile_row">
|
||||
<property name="visible">False</property>
|
||||
<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>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="bt_row">
|
||||
<property name="visible">False</property>
|
||||
<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>
|
||||
<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>
|
||||
<child>
|
||||
<object class="HdyPreferencesGroup" id="general_section">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">Suspend & Power Button</property>
|
||||
<child>
|
||||
<object class="HdyComboRow" 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-index" handler="power_button_row_changed_cb" object="CcPowerPanel" swapped="yes"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="HdyActionRow" id="battery_percentage_row">
|
||||
<property name="visible">False</property>
|
||||
<property name="title" translatable="yes">Show Battery _Percentage</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="activatable_widget">battery_percentage_switch</property>
|
||||
<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>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Reference in a new issue