-
Notifications
You must be signed in to change notification settings - Fork 80
/
first_account_dialog.go
67 lines (62 loc) · 2.5 KB
/
first_account_dialog.go
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
package definitions
func init() {
add(`FirstAccountDialog`, &defFirstAccountDialog{})
}
type defFirstAccountDialog struct{}
func (*defFirstAccountDialog) String() string {
return `<interface>
<object class="GtkDialog" id="dialog">
<property name="window-position">GTK_WIN_POS_CENTER</property>
<property name="title" translatable="yes">Setup your first account</property>
<signal name="delete-event" handler="on_cancel_signal" />
<child internal-child="vbox">
<object class="GtkBox" id="Vbox">
<property name="margin">10</property>
<child>
<object class="GtkLabel" id="message">
<property name="label" translatable="yes">Since you do not have a configured account, we need to set you up with one.
You can choose to import an existing one, register a new one or manually configure an existing account.
</property>
<property name="wrap">true</property>
</object>
<packing>
<property name="expand">false</property>
<property name="fill">true</property>
<property name="position">0</property>
</packing>
</child>
<child internal-child="action_area">
<object class="GtkButtonBox" id="button_box">
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
<child>
<object class="GtkButton" id="button_cancel">
<property name="label">Cancel</property>
<signal name="clicked" handler="on_cancel_signal" />
</object>
</child>
<child>
<object class="GtkButton" id="button_import">
<property name="label" translatable="yes">Import account...</property>
<signal name="clicked" handler="on_import_signal" />
</object>
</child>
<child>
<object class="GtkButton" id="button_register">
<property name="label" translatable="yes">Register account...</property>
<signal name="clicked" handler="on_register_signal" />
</object>
</child>
<child>
<object class="GtkButton" id="button_existing">
<property name="label" translatable="yes">Existing account...</property>
<signal name="clicked" handler="on_existing_signal" />
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
`
}