| 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="PdDiscoveryPage" parent="AdwNavigationPage"> |
| 32 |
<property name="tag">discovery</property> |
| 33 |
<property name="title" translatable="yes">Add Podcasts</property> |
| 34 |
<child> |
| 35 |
<object class="AdwToolbarView"> |
| 36 |
<child type="top"> |
| 37 |
<object class="AdwHeaderBar" id="header"> |
| 38 |
</object> |
| 39 |
</child> |
| 40 |
<child> |
| 41 |
<object class="GtkScrolledWindow"> |
| 42 |
<property name="vexpand">True</property> |
| 43 |
<property name="hexpand">True</property> |
| 44 |
<property name="hscrollbar-policy">never</property> |
| 45 |
<child> |
| 46 |
<object class="AdwClamp"> |
| 47 |
<property name="vexpand">True</property> |
| 48 |
<property name="maximum-size">700</property> |
| 49 |
<child> |
| 50 |
<object class="GtkBox"> |
| 51 |
<property name="vexpand">True</property> |
| 52 |
<property name="orientation">vertical</property> |
| 53 |
<property name="margin-top">18</property> |
| 54 |
<property name="margin-bottom">18</property> |
| 55 |
<property name="margin-start">18</property> |
| 56 |
<property name="margin-end">18</property> |
| 57 |
<style> |
| 58 |
<class name="content"/> |
| 59 |
</style> |
| 60 |
<!-- Search --> |
| 61 |
<child> |
| 62 |
<object class="GtkLabel"> |
| 63 |
<property name="halign">start</property> |
| 64 |
<property name="label" translatable="yes">Search</property> |
| 65 |
<style> |
| 66 |
<class name="heading"/> |
| 67 |
</style> |
| 68 |
</object> |
| 69 |
</child> |
| 70 |
<child> |
| 71 |
<object class="GtkLabel" id="entry_description"> |
| 72 |
<property name="xalign">0</property> |
| 73 |
<property name="wrap">True</property> |
| 74 |
<property name="justify">Start</property> |
| 75 |
<property name="margin-top">8</property> |
| 76 |
<property name="margin-bottom">8</property> |
| 77 |
<property name="label" translatable="yes">Enter a feed URL or search the selected platforms.</property> |
| 78 |
<style> |
| 79 |
<class name="dim-label"/> |
| 80 |
</style> |
| 81 |
</object> |
| 82 |
</child> |
| 83 |
<child> |
| 84 |
<object class="GtkBox"> |
| 85 |
<property name="halign">fill</property> |
| 86 |
<property name="spacing">10</property> |
| 87 |
<child> |
| 88 |
<object class="GtkEntry" id="entry"> |
| 89 |
<accessibility> |
| 90 |
<relation name="labelled-by">entry_description</relation> |
| 91 |
</accessibility> |
| 92 |
<!-- <property name="margin-end">20</property> --> |
| 93 |
<property name="hexpand">True</property> |
| 94 |
<property name="truncate-multiline">True</property> |
| 95 |
<property name="receives-default">True</property> |
| 96 |
</object> |
| 97 |
</child> |
| 98 |
<child> |
| 99 |
<object class="GtkButton" id="search_button"> |
| 100 |
<property name="tooltip-text" translatable="yes">Submit search</property> |
| 101 |
<property name="icon-name">system-search-symbolic</property> |
| 102 |
</object> |
| 103 |
</child> |
| 104 |
<child> |
| 105 |
<object class="AdwSpinner" id="loading_spinner"> |
| 106 |
<property name="tooltip-text" translatable="yes">Loading…</property> |
| 107 |
<property name="visible">False</property> |
| 108 |
<property name="width-request">24</property> |
| 109 |
<property name="margin-start">10</property> |
| 110 |
</object> |
| 111 |
</child> |
| 112 |
</object> |
| 113 |
</child> |
| 114 |
<child> |
| 115 |
<object class="GtkLabel" id="no_platforms_selected_label"> |
| 116 |
<property name="visible">False</property> |
| 117 |
<property name="halign">start</property> |
| 118 |
<property name="margin-top">8</property> |
| 119 |
<property name="label" translatable="yes">Please enable a Search Platform below, or enter a http(s) feed URL.</property> |
| 120 |
<property name="wrap">True</property> |
| 121 |
<style> |
| 122 |
<class name="error"/> |
| 123 |
</style> |
| 124 |
</object> |
| 125 |
</child> |
| 126 |
|
| 127 |
<!-- Platform switches --> |
| 128 |
<child> |
| 129 |
<object class="AdwPreferencesGroup" id="list"> |
| 130 |
<property name="margin-top">18</property> |
| 131 |
<property name="title" translatable="yes">Search Platforms</property> |
| 132 |
<property name="description" translatable="yes">Search queries will be sent to these platforms.</property> |
| 133 |
</object> |
| 134 |
</child> |
| 135 |
</object> |
| 136 |
</child> |
| 137 |
</object> |
| 138 |
</child> |
| 139 |
</object> |
| 140 |
</child> |
| 141 |
</object> |
| 142 |
</child> |
| 143 |
</template> |
| 144 |
</interface> |