summaryrefslogtreecommitdiffstats
path: root/panels/search/cc-search-panel.ui
blob: 7876fe8b53141121543c4205d26ef6392bf65451 (plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="CcSearchPanel" parent="CcPanel">
    <child type="content">
      <object class="AdwPreferencesPage">
        <child>
          <object class="AdwPreferencesGroup">
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes">Application Search</property>
                <property name="subtitle" translatable="yes">Include application-provided search results.</property>
                <property name="activatable-widget">main_switch</property>
                <child type="suffix">
                  <object class="GtkSwitch" id="main_switch">
                    <property name="valign">center</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwActionRow" id="settings_row">
                <property name="title" translatable="yes">Search Locations</property>
                <property name="subtitle" translatable="yes">Folders which are searched by system applications.</property>
                <property name="activatable">True</property>
                <signal name="activated" handler="settings_row_activated" object="CcSearchPanel" swapped="no"/>
                <child type="suffix">
                  <object class="GtkImage">
                    <property name="icon-name">go-next-symbolic</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup" id="search_group">
            <property name="title" translatable="yes">Search Results</property>
            <property name="description" translatable="yes">Results are displayed according to the list order.</property>
            <child>
              <object class="GtkListBox" id="list_box">
                <property name="selection-mode">none</property>
                <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchPanel" swapped="yes"/>
                <accessibility>
                  <relation name="labelled-by">search_group</relation>
                </accessibility>
                <style>
                  <class name="boxed-list"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>

</interface>