summaryrefslogtreecommitdiff
path: root/src/gui/gtd-initial-setup-window.ui
blob: 01c4b87312e4a5d25529eead17fbaaa90faa3388 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.16"/>
  <template class="GtdInitialSetupWindow" parent="GtkApplicationWindow">
    <property name="width_request">800</property>
    <property name="height_request">600</property>
    <property name="resizable">0</property>
    <property name="window_position">center</property>
    <property name="default_width">800</property>
    <property name="default_height">600</property>
    <child>
      <object class="GtkBox" id="box">
        <property name="valign">center</property>
        <property name="margin_bottom">48</property>
        <property name="vexpand">1</property>
        <property name="orientation">vertical</property>
        <property name="spacing">18</property>
        <child>
          <object class="GtkLabel" id="welcome_label">
            <property name="label" translatable="yes">Welcome</property>
            <style>
              <class name="main-title"/>
            </style>
          </object>
          <packing>
            <property name="fill">True</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="subtitle_label">
            <property name="label" translatable="yes">Log in to online accounts to access your tasks</property>
            <style>
              <class name="main-subtitle"/>
            </style>
          </object>
          <packing>
            <property name="fill">True</property>
          </packing>
        </child>
        <child>
          <object class="GtdStorageSelector" id="storage_selector">
            <property name="receives_default">True</property>
            <property name="width_request">400</property>
            <property name="valign">center</property>
            <property name="halign">center</property>
            <signal name="storage-selected" handler="gtd_initial_setup_window__location_selected" object="GtdInitialSetupWindow" swapped="yes"/>
          </object>
        </child>
      </object>
    </child>
    <child type="titlebar">
      <object class="GtkHeaderBar" id="headerbar">
        <property name="title" translatable="yes">Endeavour Setup</property>
        <child>
          <object class="GtkButton" id="cancel_button">
            <property name="label" translatable="yes">_Cancel</property>
            <property name="use_underline">1</property>
            <property name="can_focus">1</property>
            <property name="receives_default">1</property>
            <signal name="clicked" handler="gtd_initial_setup_window__button_clicked" object="GtdInitialSetupWindow" swapped="yes"/>
          </object>
        </child>
        <child>
          <object class="GtkButton" id="done_button">
            <property name="label" translatable="yes">_Done</property>
            <property name="use_underline">1</property>
            <property name="sensitive">0</property>
            <property name="can_focus">1</property>
            <property name="receives_default">1</property>
            <signal name="clicked" handler="gtd_initial_setup_window__button_clicked" object="GtdInitialSetupWindow" swapped="yes"/>
            <style>
              <class name="suggested-action"/>
            </style>
          </object>
          <packing>
            <property name="pack_type">end</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>