Debian Codegraph @

podcasts-gtk/resources/gtk/discovery_found_podcast.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2022 - 2024
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 nee <[email protected]>
23
24 -->
25 <interface>
26 <!-- interface-license-type gplv3 -->
27 <!-- interface-name GNOME Podcasts -->
28 <!-- interface-description A podcast client for the GNOME Desktop -->
29 <!-- interface-copyright 2022 - 2024 -->
30 <!-- interface-authors nee -->
31 <template class="PdDiscoveryFoundPodcast" parent="AdwPreferencesRow">
32 <style>
33 <class name="found-podcast"/>
34 </style>
35 <property name="selectable">False</property>
36 <child>
37 <object class="GtkBox">
38 <property name="margin-start">15</property>
39 <property name="margin-end">15</property>
40 <property name="margin-top">15</property>
41 <property name="margin-bottom">15</property>
42 <property name="vexpand">False</property>
43 <property name="hexpand">True</property>
44 <!-- left -->
45 <child type="prefix">
46 <object class="GtkImage" id="cover">
47 <property name="pixel-size">64</property>
48 <property name="width-request">64</property>
49 <property name="height-request">64</property>
50 <property name="icon-name">image-missing-symbolic</property>
51 <property name="accessible_role">presentation</property>
52 <property name="valign">start</property>
53 </object>
54 </child>
55 <!-- center -->
56 <child>
57 <object class="GtkBox">
58 <property name="margin-start">15</property>
59 <property name="margin-end">15</property>
60 <property name="orientation">vertical</property>
61 <child>
62 <object class="GtkLabel" id="title">
63 <style>
64 <class name="title"/>
65 </style>
66 <property name="halign">start</property>
67 <property name="wrap">True</property>
68 <property name="label" translatable="no">title</property>
69 </object>
70 </child>
71 <child>
72 <object class="GtkLabel" id="author">
73 <style>
74 <class name="subtitle"/>
75 </style>
76 <property name="ellipsize">end</property>
77 <property name="halign">start</property>
78 <property name="margin-bottom">10</property>
79 <property name="label" translatable="no">author</property>
80 </object>
81 </child>
82 <child>
83 <object class="GtkLabel" id="description">
84 <style>
85 <class name="dim-label"/>
86 </style>
87 <property name="label" translatable="no"/>
88 <property name="visible">False</property>
89 <property name="halign">start</property>
90 <property name="ellipsize">end</property>
91 <property name="vexpand">False</property>
92 <property name="single-line-mode">True</property>
93 </object>
94 </child>
95 <child>
96 <object class="GtkBox" id="episode_count">
97 <property name="hexpand">True</property>
98 <property name="valign">end</property>
99 <property name="visible">False</property>
100 <child>
101 <object class="GtkLabel">
102 <style>
103 <class name="subtitle"/>
104 </style>
105 <property name="label" translatable="yes">Episodes: </property>
106 <property name="justify">right</property>
107 <property name="xalign">1</property>
108 </object>
109 </child>
110 <child>
111 <object class="GtkLabel" id="episode_count_label">
112 <style>
113 <class name="subtitle"/>
114 </style>
115 <property name="label">0</property>
116 </object>
117 </child>
118 </object>
119 </child>
120 <child>
121 <object class="GtkBox">
122 <property name="spacing">15</property>
123 <child>
124 <object class="GtkLabel" id="feed_url">
125 <style>
126 <class name="subtitle"/>
127 </style>
128 <property name="label" translatable="no"/>
129 <property name="valign">end</property>
130 <property name="halign">start</property>
131 <property name="ellipsize">end</property>
132 <property name="vexpand">False</property>
133 <property name="margin-top">10</property>
134 <property name="single-line-mode">True</property>
135 </object>
136 </child>
137 <child>
138 <object class="GtkLabel" id="last_publication">
139 <style>
140 <class name="subtitle"/>
141 </style>
142 <property name="visible">False</property>
143 <property name="tooltip-text" translatable="yes">Last publication</property>
144 <property name="label" translatable="no"/>
145 <property name="valign">end</property>
146 <property name="halign">end</property>
147 <property name="vexpand">False</property>
148 <property name="hexpand">True</property>
149 <property name="margin-top">10</property>
150 <property name="single-line-mode">True</property>
151 </object>
152 </child>
153 </object>
154 </child>
155 </object>
156 </child>
157 <!-- right -->
158 <child>
159 <object class="GtkStack" id="subscribe_stack">
160 <property name="hhomogeneous">True</property>
161 <property name="vhomogeneous">True</property>
162 <child>
163 <object class="GtkButton" id="subscribe">
164 <property name="label" translatable="yes">_Subscribe</property>
165 <property name="use-underline">True</property>
166 <property name="can-shrink">True</property>
167 <property name="valign">center</property>
168 <property name="halign">end</property>
169 <property name="receives-default">True</property>
170 </object>
171 </child>
172 <child>
173 <object class="AdwSpinner" id="loading_spinner">
174 <property name="tooltip-text" translatable="yes">Subscribing to feed…</property>
175 <property name="valign">center</property>
176 <property name="halign">center</property>
177 </object>
178 </child>
179 </object>
180 </child>
181 </object>
182 </child>
183 </template>
184 </interface>