summaryrefslogtreecommitdiff
path: root/shell/cc-panel-list.ui
blob: c9e90e8668a973b56afef6b020bc89554093ed33 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.20"/>
  <template class="CcPanelList" parent="AdwBin">

    <child>
      <object class="GtkStack" id="stack">
        <property name="vhomogeneous">False</property>
        <property name="hhomogeneous">True</property>
        <property name="transition_type">slide-left-right</property>

        <child>
          <object class="GtkStackPage">
            <property name="name">main</property>
            <property name="child">
              <object class="GtkListBox" id="main_listbox">
                <accessibility>
                  <property name="label" translatable="yes">Settings categories</property>
                </accessibility>
                <signal name="row-activated" handler="row_activated_cb" object="CcPanelList" swapped="no" />
                <style>
                  <class name="navigation-sidebar" />
                </style>
                <child>
                  <object class="GtkListBoxRow" id="privacy_row">
                    <property name="visible">False</property>
                    <child>
                      <object class="GtkBox">
                        <property name="margin-start">6</property>
                        <property name="margin-end">6</property>
                        <property name="margin-top">12</property>
                        <property name="margin-bottom">12</property>
                        <property name="spacing">12</property>
                        <child>
                          <object class="GtkImage">
                            <property name="icon_name">preferences-system-privacy-symbolic</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkLabel">
                            <property name="hexpand">True</property>
                            <property name="label" translatable="yes">Privacy</property>
                            <property name="xalign">0</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkImage">
                            <property name="icon_name">go-next-symbolic</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>

        <child>
          <object class="GtkStackPage">
            <property name="name">privacy</property>
            <property name="child">
              <object class="GtkListBox" id="privacy_listbox">
                <signal name="row-activated" handler="row_activated_cb" object="CcPanelList" swapped="no" />
                <style>
                  <class name="navigation-sidebar" />
                </style>
              </object>
            </property>
          </object>
        </child>

        <child>
          <object class="GtkStackPage">
            <property name="name">search</property>
            <property name="child">
              <object class="GtkListBox" id="search_listbox">
                <signal name="row-activated" handler="search_row_activated_cb" object="CcPanelList" swapped="no" />
                <style>
                  <class name="navigation-sidebar" />
                </style>

                <!-- Placeholder -->
                <child type="placeholder">
                  <object class="GtkBox" id="empty_search_placeholder">
                    <property name="halign">center</property>
                    <property name="valign">center</property>
                    <property name="hexpand">True</property>
                    <property name="vexpand">True</property>
                    <property name="margin-start">18</property>
                    <property name="margin-end">18</property>
                    <property name="margin-top">18</property>
                    <property name="margin-bottom">18</property>
                    <property name="orientation">vertical</property>
                    <property name="spacing">6</property>
                    <child>
                      <object class="GtkImage">
                        <property name="pixel_size">64</property>
                        <property name="icon_name">edit-find-symbolic</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">No results found</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                          <attribute name="scale" value="1.44"/>
                        </attributes>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="label" translatable="yes">Try a different search</property>
                        <style>
                          <class name="dim-label"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>

      </object>
    </child>
  </template>
</interface>