Added inactive timer

This commit is contained in:
jeffser
2024-09-02 02:38:03 -06:00
parent 46e3921585
commit daf56c2de4
3 changed files with 74 additions and 16 deletions

View File

@@ -390,6 +390,26 @@
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<child>
<object class="AdwSpinRow" id="instance_idle_timer">
<signal name="changed" handler="instance_idle_timer_changed"/>
<property name="name">timer</property>
<property name="title" translatable="yes">Idle Timer</property>
<property name="subtitle" translatable="yes">Number of minutes the instance should remain idle before it is shut down (0 means it won't be shut down)</property>
<property name="digits">0</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="lower">0</property>
<property name="upper">60</property>
<property name="step-increment">5</property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>