Skip to content

Commit

Permalink
power: Add some more reasonable suspend time options for mobile
Browse files Browse the repository at this point in the history
Edited by felipeborges.
  • Loading branch information
5ilver authored and felipeborges committed Mar 21, 2024
1 parent 74248b5 commit f694945
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions panels/power/cc-power-panel.ui
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,34 @@
</row>
</data>
</object>

<object class="GtkListStore" id="mobile_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 &quot;Delay&quot; in &quot;Automatic suspend&quot; dialog.">1 minute</col>
<col id="1">60</col>
</row>
<row>
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for &quot;Delay&quot; in &quot;Automatic suspend&quot; dialog.">2 minutes</col>
<col id="1">120</col>
</row>
<row>
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for &quot;Delay&quot; in &quot;Automatic suspend&quot; dialog.">5 minutes</col>
<col id="1">300</col>
</row>
<row>
<col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for &quot;Delay&quot; in &quot;Automatic suspend&quot; dialog.">10 minutes</col>
<col id="1">600</col>
</row>
</data>
</object>

<template class="CcPowerPanel" parent="CcPanel">
<property name="child">
<object class="AdwToolbarView">
Expand Down

0 comments on commit f694945

Please sign in to comment.