| 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="PdEpisodeDescription" parent="AdwNavigationPage"> |
| 33 |
<property name="title" translatable="yes">Episode Details</property> |
| 34 |
<child> |
| 35 |
<object class="AdwToolbarView"> |
| 36 |
<child type="top"> |
| 37 |
<object class="AdwHeaderBar" id="header"> |
| 38 |
<child type="end"> |
| 39 |
<object class="GtkMenuButton" id="menu_button"> |
| 40 |
<property name="primary">True</property> |
| 41 |
<property name="icon-name">view-more-symbolic</property> |
| 42 |
<property name="tooltip-text" translatable="yes">Episode Menu</property> |
| 43 |
</object> |
| 44 |
</child> |
| 45 |
</object> |
| 46 |
</child> |
| 47 |
<child> |
| 48 |
<object class="GtkScrolledWindow"> |
| 49 |
<property name="vexpand">True</property> |
| 50 |
<property name="hexpand">True</property> |
| 51 |
<child> |
| 52 |
<object class="AdwClamp" id="clamp"> |
| 53 |
<property name="vexpand">True</property> |
| 54 |
<property name="maximum-size">700</property> |
| 55 |
<child> |
| 56 |
<object class="GtkBox" id="content"> |
| 57 |
<property name="vexpand">True</property> |
| 58 |
<property name="orientation">vertical</property> |
| 59 |
<property name="baseline-position">top</property> |
| 60 |
<child> |
| 61 |
<object class="GtkBox" id="episode_info"> |
| 62 |
<property name="valign">start</property> |
| 63 |
<property name="margin-top">18</property> |
| 64 |
<property name="margin-bottom">18</property> |
| 65 |
<property name="hexpand">True</property> |
| 66 |
<property name="orientation">vertical</property> |
| 67 |
<child> |
| 68 |
<object class="GtkBox" id="episode_info_horizontal"> |
| 69 |
<property name="margin-start">18</property> |
| 70 |
<property name="margin-end">14</property> |
| 71 |
<child> |
| 72 |
<object class="GtkImage" id="cover"> |
| 73 |
<property name="margin-top">4</property> |
| 74 |
<property name="margin-end">12</property> |
| 75 |
<property name="hexpand">False</property> |
| 76 |
<property name="vexpand">False</property> |
| 77 |
<property name="valign">start</property> |
| 78 |
<property name="pixel-size">64</property> |
| 79 |
<property name="icon-name">image-missing-symbolic</property> |
| 80 |
<property name="overflow">hidden</property> |
| 81 |
<style> |
| 82 |
<class name="rounded-small"/> |
| 83 |
</style> |
| 84 |
</object> |
| 85 |
</child> |
| 86 |
<child> |
| 87 |
<object class="GtkBox"> |
| 88 |
<property name="orientation">vertical</property> |
| 89 |
<child> |
| 90 |
<object class="GtkLabel" id="podcast_title"> |
| 91 |
<property name="label" translatable="yes">Podcast Title</property> |
| 92 |
<property name="wrap">True</property> |
| 93 |
<property name="wrap-mode">word-char</property> |
| 94 |
<property name="xalign">0</property> |
| 95 |
<style> |
| 96 |
<class name="dim-label"/> |
| 97 |
</style> |
| 98 |
</object> |
| 99 |
</child> |
| 100 |
<child> |
| 101 |
<object class="GtkLabel" id="episode_title"> |
| 102 |
<property name="label">Episode Title</property> |
| 103 |
<property name="wrap">True</property> |
| 104 |
<property name="wrap-mode">word-char</property> |
| 105 |
<property name="lines">1</property> |
| 106 |
<property name="xalign">0</property> |
| 107 |
<style> |
| 108 |
<class name="heading"/> |
| 109 |
</style> |
| 110 |
</object> |
| 111 |
</child> |
| 112 |
<child> |
| 113 |
<object class="GtkLabel" id="episode_duration"> |
| 114 |
<property name="label" translatable="yes">Duration - Date</property> |
| 115 |
<property name="xalign">0</property> |
| 116 |
<style> |
| 117 |
<class name="episode_duration"/> |
| 118 |
</style> |
| 119 |
</object> |
| 120 |
</child> |
| 121 |
</object> |
| 122 |
</child> |
| 123 |
</object> |
| 124 |
</child> |
| 125 |
<!-- Row for Download-bar + Stream/Play --> |
| 126 |
<child> |
| 127 |
<object class="GtkBox"> |
| 128 |
<property name="hexpand">True</property> |
| 129 |
<style> |
| 130 |
<class name="button-row"/> |
| 131 |
</style> |
| 132 |
<child> |
| 133 |
<!-- Download/Stream/Play buttons --> |
| 134 |
<object class="GtkBox"> |
| 135 |
<property name="margin-start">18</property> |
| 136 |
<property name="margin-end">18</property> |
| 137 |
<property name="halign">start</property> |
| 138 |
<property name="spacing">10</property> |
| 139 |
<property name="homogeneous">True</property> |
| 140 |
<!-- Stream --> |
| 141 |
<child> |
| 142 |
<object class="GtkButton" id="stream_button"> |
| 143 |
<property name="visible">False</property> |
| 144 |
<property name="width-request">145</property> |
| 145 |
<child> |
| 146 |
<object class="AdwButtonContent"> |
| 147 |
<property name="icon-name">media-playback-start-symbolic</property> |
| 148 |
<property name="label" translatable="yes">_Stream</property> |
| 149 |
<property name="use-underline">True</property> |
| 150 |
<property name="can-shrink">True</property> |
| 151 |
</object> |
| 152 |
</child> |
| 153 |
</object> |
| 154 |
</child> |
| 155 |
<!-- Play --> |
| 156 |
<child> |
| 157 |
<object class="GtkButton" id="play_button"> |
| 158 |
<style> |
| 159 |
<class name="suggested-action"/> |
| 160 |
</style> |
| 161 |
<property name="visible">False</property> |
| 162 |
<property name="width-request">145</property> |
| 163 |
<child> |
| 164 |
<object class="AdwButtonContent"> |
| 165 |
<property name="icon-name">media-playback-start-symbolic</property> |
| 166 |
<property name="label" translatable="yes">_Play</property> |
| 167 |
<property name="use-underline">True</property> |
| 168 |
<property name="can-shrink">True</property> |
| 169 |
</object> |
| 170 |
</child> |
| 171 |
</object> |
| 172 |
</child> |
| 173 |
<!-- Pause --> |
| 174 |
<child> |
| 175 |
<object class="GtkButton" id="pause_button"> |
| 176 |
<style> |
| 177 |
<class name="suggested-action"/> |
| 178 |
</style> |
| 179 |
<property name="visible">False</property> |
| 180 |
<property name="width-request">145</property> |
| 181 |
<property name="action-name">win.toggle-pause</property> |
| 182 |
<child> |
| 183 |
<object class="AdwButtonContent"> |
| 184 |
<property name="icon-name">media-playback-pause-symbolic</property> |
| 185 |
<property name="label" translatable="yes">_Pause</property> |
| 186 |
<property name="use-underline">True</property> |
| 187 |
<property name="can-shrink">True</property> |
| 188 |
</object> |
| 189 |
</child> |
| 190 |
</object> |
| 191 |
</child> |
| 192 |
<!-- Download --> |
| 193 |
<child> |
| 194 |
<object class="GtkButton" id="download_button"> |
| 195 |
<style> |
| 196 |
<class name="suggested-action"/> |
| 197 |
</style> |
| 198 |
<property name="visible">False</property> |
| 199 |
<property name="width-request">145</property> |
| 200 |
<child> |
| 201 |
<object class="AdwButtonContent"> |
| 202 |
<property name="icon-name">document-save-symbolic</property> |
| 203 |
<property name="label" translatable="yes">_Download</property> |
| 204 |
<property name="use-underline">True</property> |
| 205 |
<property name="can-shrink">True</property> |
| 206 |
</object> |
| 207 |
</child> |
| 208 |
</object> |
| 209 |
</child> |
| 210 |
<!-- Cancel --> |
| 211 |
<child> |
| 212 |
<object class="GtkButton" id="cancel_button"> |
| 213 |
<style> |
| 214 |
<class name="cancel-button"/> |
| 215 |
</style> |
| 216 |
<property name="visible">False</property> |
| 217 |
<property name="width-request">145</property> |
| 218 |
<property name="overflow">hidden</property> |
| 219 |
<child> |
| 220 |
<object class="GtkBox"> |
| 221 |
<property name="orientation">vertical</property> |
| 222 |
<child> |
| 223 |
<object class="GtkBox"> |
| 224 |
<style> |
| 225 |
<class name="cancel-button-text"/> |
| 226 |
</style> |
| 227 |
<property name="halign">center</property> |
| 228 |
<child> |
| 229 |
<object class="GtkLabel"> |
| 230 |
<property name="label" translatable="yes">Cancel</property> |
| 231 |
<property name="ellipsize">end</property> |
| 232 |
</object> |
| 233 |
</child> |
| 234 |
</object> |
| 235 |
</child> |
| 236 |
<child> |
| 237 |
<object class="PdDownloadProgress" id="progressbar"> |
| 238 |
<property name="hexpand">True</property> |
| 239 |
<property name="vexpand">False</property> |
| 240 |
<property name="valign">end</property> |
| 241 |
<property name="height-request">2</property> |
| 242 |
<style> |
| 243 |
<class name="in-button-progress"/> |
| 244 |
</style> |
| 245 |
</object> |
| 246 |
</child> |
| 247 |
</object> |
| 248 |
</child> |
| 249 |
</object> |
| 250 |
</child> |
| 251 |
<!-- Delete --> |
| 252 |
<child> |
| 253 |
<object class="GtkButton" id="delete_button"> |
| 254 |
<property name="visible">False</property> |
| 255 |
<property name="width-request">145</property> |
| 256 |
<child> |
| 257 |
<object class="AdwButtonContent"> |
| 258 |
<property name="icon-name">user-trash-symbolic</property> |
| 259 |
<property name="label" translatable="yes">Delete</property> |
| 260 |
<property name="use-underline">True</property> |
| 261 |
<property name="can-shrink">True</property> |
| 262 |
</object> |
| 263 |
</child> |
| 264 |
</object> |
| 265 |
</child> |
| 266 |
</object> |
| 267 |
</child> |
| 268 |
</object> |
| 269 |
</child> |
| 270 |
</object> |
| 271 |
</child> |
| 272 |
<child> |
| 273 |
<object class="GtkLabel" id="description"> |
| 274 |
<property name="valign">start</property> |
| 275 |
<property name="margin-start">18</property> |
| 276 |
<property name="margin-end">18</property> |
| 277 |
<property name="margin-bottom">18</property> |
| 278 |
<property name="label" translatable="yes">Episode Description</property> |
| 279 |
<property name="wrap">True</property> |
| 280 |
<property name="wrap-mode">word-char</property> |
| 281 |
<property name="xalign">0</property> |
| 282 |
<style> |
| 283 |
<class name="episode_description_label"/> |
| 284 |
<class name="document"/> |
| 285 |
</style> |
| 286 |
</object> |
| 287 |
</child> |
| 288 |
<child> |
| 289 |
<object class="GtkPicture" id="episode_specific_cover"> |
| 290 |
<property name="margin-start">18</property> |
| 291 |
<property name="margin-end">18</property> |
| 292 |
<property name="margin-bottom">18</property> |
| 293 |
<property name="hexpand">True</property> |
| 294 |
<property name="vexpand">True</property> |
| 295 |
<property name="visible">False</property> |
| 296 |
<property name="content-fit">scale-down</property> |
| 297 |
<property name="valign">start</property> |
| 298 |
<property name="halign">fill</property> |
| 299 |
<property name="height-request">300</property> |
| 300 |
<property name="tooltip-text" translatable="yes">Episode Cover</property> |
| 301 |
</object> |
| 302 |
</child> |
| 303 |
</object> |
| 304 |
</child> |
| 305 |
</object> |
| 306 |
</child> |
| 307 |
</object> |
| 308 |
</child> |
| 309 |
</object> |
| 310 |
</child> |
| 311 |
<style> |
| 312 |
<class name="episode_description"/> |
| 313 |
</style> |
| 314 |
</template> |
| 315 |
</interface> |