summaryrefslogtreecommitdiffstats
path: root/panels/online-accounts/online-accounts.ui
blob: c101964d99d44e5586ac0a70d28b2884b00e4786 (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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <template class="CcGoaPanel" parent="CcPanel">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <child>
      <object class="GtkOverlay">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <child type="overlay">
          <object class="GtkRevealer" id="notification_revealer">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="halign">center</property>
            <property name="valign">start</property>
            <property name="transition_type">slide-down</property>
            <child>
              <object class="GtkFrame">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <child>
                  <object class="GtkBox">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="spacing">12</property>
                    <child>
                      <object class="GtkLabel" id="notification_label">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="use_markup">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="undo_button">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="label" translatable="yes">Undo</property>
                        <signal name="clicked" handler="on_undo_button_clicked" object="CcGoaPanel" swapped="no" />
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="relief">none</property>
                        <signal name="clicked" handler="on_notification_closed" object="CcGoaPanel" swapped="no" />
                        <child>
                          <object class="GtkImage">
                            <property name="visible">True</property>
                            <property name="can_focus">False</property>
                            <property name="icon-name">window-close-symbolic</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <style>
                  <class name="app-notification" />
                </style>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkScrolledWindow">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hscrollbar_policy">never</property>
            <property name="min_content_height">500</property>
            <child>
              <object class="HdyClamp">
                <property name="visible">True</property>
                <property name="margin_top">32</property>
                <property name="margin_bottom">32</property>
                <property name="margin_start">12</property>
                <property name="margin_end">12</property>

                <child>
                  <object class="GtkBox">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="spacing">12</property>
                    <property name="orientation">vertical</property>
                    <property name="hexpand">True</property>

                    <child>
                      <object class="GtkLabel" id="accounts_label">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="wrap">True</property>
                        <property name="justify">center</property>
                        <property name="label" translatable="yes">Connect to your data in the cloud</property>
                        <property name="margin_bottom">20</property>
                        <attributes>
                          <attribute name="scale" value="1.66" />
                        </attributes>
                        <accessibility>
                          <relation target="accounts_listbox" type="label-for"/>
                        </accessibility>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="offline_label">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="wrap">True</property>
                        <property name="label" translatable="yes">No internet connection — connect to set up new online accounts</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame" id="accounts_frame">
                        <property name="can_focus">False</property>
                        <child>
                          <object class="GtkListBox" id="accounts_listbox">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="selection_mode">none</property>
                            <signal name="row-activated" handler="on_listbox_row_activated" object="CcGoaPanel" swapped="yes" />
                            <accessibility>
                              <relation target="accounts_label" type="labelled-by"/>
                            </accessibility>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel" id="providers_label">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="margin-top">20</property>
                        <property name="xalign">0</property>
                        <property name="label" translatable="yes">Add an account</property>
                        <attributes>
                          <attribute name="weight" value="bold" />
                        </attributes>
                        <accessibility>
                          <relation target="providers_listbox" type="label-for"/>
                        </accessibility>
                      </object>
                    </child>
                    <child>
                      <object class="GtkFrame">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <child>
                          <object class="GtkListBox" id="providers_listbox">
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="selection_mode">none</property>
                            <signal name="row-activated" handler="on_provider_row_activated" object="CcGoaPanel" swapped="yes" />
                            <accessibility>
                              <relation target="providers_label" type="labelled-by"/>
                            </accessibility>
                            <child>
                              <object class="GtkListBoxRow" id="more_providers_row">
                                <property name="visible">True</property>
                                <property name="can_focus">True</property>
                                <child>
                                  <object class="GtkImage">
                                    <property name="visible">True</property>
                                    <property name="can_focus">False</property>
                                    <property name="hexpand">True</property>
                                    <property name="margin">22</property>
                                    <property name="icon-name">view-more-symbolic</property>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkDialog" id="edit_account_dialog">
    <property name="can_focus">False</property>
    <property name="type_hint">dialog</property>
    <property name="use_header_bar">1</property>
    <property name="resizable">False</property>
    <property name="modal">True</property>
    <signal name="delete-event" handler="on_edit_account_dialog_delete_event" object="CcGoaPanel" swapped="yes" />
    <child type="titlebar">
      <object class="GtkHeaderBar" id="edit_account_headerbar">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="show_close_button">True</property>
      </object>
    </child>
    <child internal-child="vbox">
      <object class="GtkBox">
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <property name="border_width">0</property>
        <child>
          <object class="GtkStack" id="stack">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="transition_type">crossfade</property>
            <property name="homogeneous">False</property>
            <child>
              <object class="GtkBox" id="new_account_vbox">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="editor_box">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="margin-bottom">24</property>
                <property name="spacing">42</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkBox" id="accounts_vbox">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="vexpand">True</property>
                    <property name="orientation">vertical</property>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="remove_account_button">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="margin-start">24</property>
                    <property name="margin-end">24</property>
                    <property name="valign">end</property>
                    <property name="halign">end</property>
                    <property name="label" translatable="yes">Remove Account</property>
                    <signal name="clicked" handler="on_remove_button_clicked" object="CcGoaPanel" swapped="yes" />
                    <style>
                      <class name="destructive-action" />
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>