about summary refs log tree commit diff
path: root/src/gtk/preferences_window.ui
blob: a9866cb30f8e6bfa9d26d6b32bcf3a73a5742a89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="FurPreferencesWindow" parent="AdwPreferencesWindow">
    <child>
      <object class="AdwPreferencesPage">
        <property name="icon_name">emblem-system-symbolic</property>
        <property name="title" translatable="yes">General</property>
        <child>
          <object class="AdwPreferencesGroup" id="idle_group">
            <property name="title" translatable="yes">Idle</property>
            <property name="visible">True</property>
            <child>
              <object class="AdwExpanderRow" id="notify_of_idle_expander">
                <property name="title" translatable="yes">Notify of Idle</property>
                <property name="show_enable_switch">True</property>
                <property name="use_underline">True</property>
                <child>
                  <object class="AdwActionRow">
                    <property name="title" translatable="yes">_Minutes to Idle</property>
                    <property name="subtitle" translatable="yes">Number of miniutes before the user is considered idle</property>
                    <property name="use_underline">True</property>
                    <child>
                      <object class="GtkSpinButton" id="notify_of_idle_spin">
                        <property name="valign">center</property>
                        <property name="adjustment">
                          <object class="GtkAdjustment">
                            <property name="upper">60</property>
                            <property name="lower">1</property>
                            <property name="step_increment">1</property>
                            <property name="page_increment">10</property>
                          </object>
                        </property>
                        <property name="numeric">True</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>