blob: 3e53a257875b5a5e5f55048a3ff931cf5f698c51 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.10 -->
<template class="GsUpgradeBanner" parent="GtkBin">
<child>
<object class="GtkBox" id="box_upgrades">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="valign">center</property>
<style>
<class name="upgrade-banner"/>
</style>
<child>
<object class="GtkLabel" id="label_upgrades_title">
<property name="visible">True</property>
<property name="margin-top">66</property>
<property name="margin_bottom">26</property>
<!-- Just a placeholder; actual label text is set in code -->
<property name="label">GNOME 3.20 Now Available</property>
<attributes>
<attribute name="scale" value="1.8"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel" id="label_upgrades_summary">
<property name="visible">True</property>
<property name="label" translatable="yes">A major upgrade, with new features and added polish.</property>
<attributes>
<attribute name="scale" value="1.2"/>
</attributes>
</object>
</child>
<child>
<object class="GtkBox" id="box_upgrades_buttons">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="halign">fill</property>
<property name="valign">end</property>
<property name="spacing">12</property>
<property name="margin_top">48</property>
<style>
<class name="osd"/>
<class name="upgrade-buttons"/>
</style>
<child>
<object class="GtkButton" id="button_upgrades_help">
<property name="label" translatable="yes">_Learn More</property>
<property name="width_request">150</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="use_underline">True</property>
<property name="relief">normal</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label_dummy1">
<property name="visible">True</property>
<property name="label"></property>
<property name="vexpand">True</property>
<property name="hexpand">True</property>
</object>
</child>
<child>
<object class="GtkProgressBar" id="progressbar">
<property name="visible">True</property>
<property name="width_request">400</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="fraction">0.3</property>
<property name="margin_top">8</property>
<style>
<class name="upgrade-progressbar"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="label_upgrades_warning">
<property name="visible">True</property>
<property name="label"></property><!-- Set in code -->
<property name="justify">center</property>
<property name="wrap">True</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label_dummy2">
<property name="visible">True</property>
<property name="label"></property>
<property name="vexpand">True</property>
<property name="hexpand">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_upgrades_download">
<property name="label" translatable="yes">_Download</property>
<property name="width_request">150</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="use_underline">True</property>
<property name="relief">normal</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_upgrades_cancel">
<property name="label" translatable="yes">_Cancel</property>
<property name="width_request">150</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="use_underline">True</property>
<property name="relief">normal</property>
</object>
</child>
<child>
<object class="GtkButton" id="button_upgrades_install">
<property name="label">_Install</property><!-- Set in code -->
<property name="width_request">150</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="use_underline">True</property>
<property name="relief">normal</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>
|