Debian Codegraph @

podcasts-gtk/resources/gtk/home_view.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2017 - 2018
5
6 This file is part of GNOME Podcasts.
7
8 GNOME Podcasts is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 GNOME Podcasts is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNOME Podcasts. If not, see <http://www.gnu.org/licenses/>.
20
21 Authors:
22 Jordan Petridis
23 Tobias Bernard
24
25 -->
26 <interface>
27 <!-- interface-license-type gplv3 -->
28 <!-- interface-name GNOME Podcasts -->
29 <!-- interface-description A podcast client for the GNOME Desktop -->
30 <!-- interface-copyright 2017 - 2018 -->
31 <!-- interface-authors Jordan Petridis\nTobias Bernard -->
32 <template class="PdHomeView" parent="AdwBin">
33 <child>
34 <object class="PdBaseView" id="view">
35 <property name="child">
36 <object class="AdwClamp">
37 <property name="maximum-size">700</property>
38 <child>
39 <object class="GtkBox" id="frame_parent">
40 <property name="margin-start">12</property>
41 <property name="margin-end">12</property>
42 <property name="margin-top">32</property>
43 <property name="margin-bottom">32</property>
44 <property name="hexpand">True</property>
45 <property name="orientation">vertical</property>
46 <property name="spacing">24</property>
47 <child>
48 <object class="GtkBox" id="today_box">
49 <property name="visible">False</property>
50 <property name="hexpand">True</property>
51 <property name="orientation">vertical</property>
52 <property name="spacing">6</property>
53 <child>
54 <object class="GtkLabel">
55 <property name="halign">start</property>
56 <property name="hexpand">True</property>
57 <property name="label" translatable="yes">Today</property>
58 <attributes>
59 <attribute name="weight" value="bold"/>
60 <attribute name="scale" value="1.5"/>
61 </attributes>
62 </object>
63 </child>
64 <child>
65 <object class="GtkListBox" id="today_list">
66 <property name="hexpand">True</property>
67 <property name="activate-on-single-click">True</property>
68 <property name="selection-mode">none</property>
69 <accessibility>
70 <property name="label" translatable="yes">Today</property>
71 </accessibility>
72 <style>
73 <class name="content"/>
74 </style>
75 </object>
76 </child>
77 </object>
78 </child>
79 <child>
80 <object class="GtkBox" id="yday_box">
81 <property name="visible">False</property>
82 <property name="hexpand">True</property>
83 <property name="orientation">vertical</property>
84 <property name="spacing">6</property>
85 <child>
86 <object class="GtkLabel">
87 <property name="halign">start</property>
88 <property name="label" translatable="yes">Yesterday</property>
89 <attributes>
90 <attribute name="weight" value="bold"/>
91 <attribute name="scale" value="1.5"/>
92 </attributes>
93 </object>
94 </child>
95 <child>
96 <object class="GtkListBox" id="yday_list">
97 <property name="hexpand">True</property>
98 <property name="activate-on-single-click">True</property>
99 <property name="selection-mode">none</property>
100 <accessibility>
101 <property name="label" translatable="yes">Yesterday</property>
102 </accessibility>
103 <style>
104 <class name="content"/>
105 </style>
106 </object>
107 </child>
108 </object>
109 </child>
110 <child>
111 <object class="GtkBox" id="week_box">
112 <property name="visible">False</property>
113 <property name="hexpand">True</property>
114 <property name="orientation">vertical</property>
115 <property name="spacing">6</property>
116 <child>
117 <object class="GtkLabel">
118 <property name="halign">start</property>
119 <property name="label" translatable="yes">This Week</property>
120 <attributes>
121 <attribute name="weight" value="bold"/>
122 <attribute name="scale" value="1.5"/>
123 </attributes>
124 </object>
125 </child>
126 <child>
127 <object class="GtkListBox" id="week_list">
128 <property name="hexpand">True</property>
129 <property name="activate-on-single-click">True</property>
130 <property name="selection-mode">none</property>
131 <accessibility>
132 <property name="label" translatable="yes">This Week</property>
133 </accessibility>
134 <style>
135 <class name="content"/>
136 </style>
137 </object>
138 </child>
139 </object>
140 </child>
141 <child>
142 <object class="GtkBox" id="month_box">
143 <property name="visible">False</property>
144 <property name="hexpand">True</property>
145 <property name="orientation">vertical</property>
146 <property name="spacing">6</property>
147 <child>
148 <object class="GtkLabel">
149 <property name="halign">start</property>
150 <property name="label" translatable="yes">This Month</property>
151 <attributes>
152 <attribute name="weight" value="bold"/>
153 <attribute name="scale" value="1.5"/>
154 </attributes>
155 </object>
156 </child>
157 <child>
158 <object class="GtkListBox" id="month_list">
159 <property name="hexpand">True</property>
160 <property name="activate-on-single-click">True</property>
161 <property name="selection-mode">none</property>
162 <accessibility>
163 <property name="label" translatable="yes">This Month</property>
164 </accessibility>
165 <style>
166 <class name="content"/>
167 </style>
168 </object>
169 </child>
170 </object>
171 </child>
172 <child>
173 <object class="GtkBox" id="rest_box">
174 <property name="visible">False</property>
175 <property name="hexpand">True</property>
176 <property name="orientation">vertical</property>
177 <property name="spacing">6</property>
178 <child>
179 <object class="GtkLabel">
180 <property name="halign">start</property>
181 <property name="hexpand">True</property>
182 <property name="label" translatable="yes">Older</property>
183 <attributes>
184 <attribute name="weight" value="bold"/>
185 <attribute name="scale" value="1.5"/>
186 </attributes>
187 </object>
188 </child>
189 <child>
190 <object class="GtkListBox" id="rest_list">
191 <property name="hexpand">True</property>
192 <property name="activate-on-single-click">True</property>
193 <property name="selection-mode">none</property>
194 <accessibility>
195 <property name="label" translatable="yes">Older</property>
196 </accessibility>
197 <style>
198 <class name="content"/>
199 </style>
200 </object>
201 </child>
202 </object>
203 </child>
204 </object>
205 </child>
206 </object>
207 </property>
208 </object>
209 </child>
210 </template>
211 </interface>