summaryrefslogtreecommitdiff
path: root/panels/search/cc-search-locations-dialog.ui
blob: 7bee0cfb7a0d776211f8a7af6a7cc84bb854aabd (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <template class="CcSearchLocationsDialog" parent="AdwPreferencesWindow">
    <property name="modal">True</property>
    <property name="hide-on-close">True</property>
    <property name="search-enabled">False</property>
    <property name="title" translatable="yes">Search Locations</property>
    <child>
      <object class="AdwPreferencesPage">
        <child>
          <object class="AdwPreferencesGroup">
            <property name="description" translatable="yes">Folders which are searched by system apps, such as Files, Photos and Videos.</property>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup" id="places_group">
            <property name="title" translatable="yes">Places</property>
            <child>
              <object class="GtkListBox" id="places_list">
                <property name="selection-mode">none</property>
                <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" swapped="yes"/>
                <accessibility>
                  <relation name="labelled-by">places_group</relation>
                </accessibility>
                <style>
                  <class name="boxed-list"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup" id="bookmarks_group">
            <property name="title" translatable="yes">Bookmarks</property>
            <child>
              <object class="GtkListBox" id="bookmarks_list">
                <property name="selection-mode">none</property>
                <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" swapped="yes"/>
                <accessibility>
                  <relation name="labelled-by">bookmarks_group</relation>
                </accessibility>
                <style>
                  <class name="boxed-list"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup" id="others_group">
            <property name="title" translatable="yes">Others</property>
            <property name="header-suffix">
              <object class="GtkButton" id="locations_add">
                <property name="valign">center</property>
                <property name="child">
                  <object class="AdwButtonContent">
                    <property name="icon-name">list-add-symbolic</property>
                    <property name="label" translatable="yes">Add Location</property>
                  </object>
                </property>
                <signal name="clicked" handler="add_button_clicked" object="CcSearchLocationsDialog" swapped="yes"/>
                <style>
                  <class name="flat"/>
                </style>
              </object>
            </property>
            <child>
              <object class="GtkListBox" id="others_list">
                <property name="selection-mode">none</property>
                <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" swapped="yes"/>
                <accessibility>
                  <relation name="labelled-by">others_group</relation>
                </accessibility>
                <style>
                  <class name="boxed-list"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>