| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<template class="FrgTorrentRow" parent="GtkListBoxRow"> |
| 4 |
<child> |
| 5 |
<object class="GtkBox"> |
| 6 |
<property name="orientation">vertical</property> |
| 7 |
<child> |
| 8 |
<object class="GtkBox"> |
| 9 |
<child> |
| 10 |
<object class="GtkStack" id="index_stack"> |
| 11 |
<property name="width_request">60</property> |
| 12 |
<property name="halign">center</property> |
| 13 |
<property name="valign">center</property> |
| 14 |
<property name="hhomogeneous">False</property> |
| 15 |
<property name="vhomogeneous">False</property> |
| 16 |
<child> |
| 17 |
<object class="GtkStackPage"> |
| 18 |
<property name="name">stopped</property> |
| 19 |
<property name="child"> |
| 20 |
<object class="GtkImage" id="stopped_image"> |
| 21 |
<property name="halign">center</property> |
| 22 |
<property name="valign">center</property> |
| 23 |
<property name="pixel_size">16</property> |
| 24 |
<property name="icon_name">media-playback-pause-symbolic</property> |
| 25 |
<property name="tooltip_text" translatable="yes">Stopped</property> |
| 26 |
<style> |
| 27 |
<class name="bubble"/> |
| 28 |
</style> |
| 29 |
</object> |
| 30 |
</property> |
| 31 |
</object> |
| 32 |
</child> |
| 33 |
<child> |
| 34 |
<object class="GtkStackPage"> |
| 35 |
<property name="name">queued</property> |
| 36 |
<property name="child"> |
| 37 |
<object class="GtkLabel" id="queue_position_label"> |
| 38 |
<property name="halign">center</property> |
| 39 |
<property name="valign">center</property> |
| 40 |
<property name="label">1</property> |
| 41 |
<style> |
| 42 |
<class name="heading"/> |
| 43 |
<class name="bubble"/> |
| 44 |
</style> |
| 45 |
</object> |
| 46 |
</property> |
| 47 |
</object> |
| 48 |
</child> |
| 49 |
<child> |
| 50 |
<object class="GtkStackPage"> |
| 51 |
<property name="name">check</property> |
| 52 |
<property name="child"> |
| 53 |
<object class="GtkSpinner" id="spinner"> |
| 54 |
<property name="halign">center</property> |
| 55 |
<property name="valign">center</property> |
| 56 |
<style> |
| 57 |
<class name="bubble"/> |
| 58 |
</style> |
| 59 |
</object> |
| 60 |
</property> |
| 61 |
</object> |
| 62 |
</child> |
| 63 |
<child> |
| 64 |
<object class="GtkStackPage"> |
| 65 |
<property name="name">download</property> |
| 66 |
<property name="child"> |
| 67 |
<object class="GtkImage"> |
| 68 |
<property name="halign">center</property> |
| 69 |
<property name="valign">center</property> |
| 70 |
<property name="pixel_size">16</property> |
| 71 |
<property name="icon_name">download-symbolic</property> |
| 72 |
<property name="tooltip_text" translatable="yes">Downloading</property> |
| 73 |
<style> |
| 74 |
<class name="bubble"/> |
| 75 |
<class name="active"/> |
| 76 |
</style> |
| 77 |
</object> |
| 78 |
</property> |
| 79 |
</object> |
| 80 |
</child> |
| 81 |
<child> |
| 82 |
<object class="GtkStackPage"> |
| 83 |
<property name="name">upload</property> |
| 84 |
<property name="child"> |
| 85 |
<object class="GtkImage"> |
| 86 |
<property name="halign">center</property> |
| 87 |
<property name="valign">center</property> |
| 88 |
<property name="pixel_size">16</property> |
| 89 |
<property name="icon_name">upload-symbolic</property> |
| 90 |
<property name="tooltip_text" translatable="yes">Uploading</property> |
| 91 |
<style> |
| 92 |
<class name="bubble"/> |
| 93 |
<class name="active"/> |
| 94 |
</style> |
| 95 |
</object> |
| 96 |
</property> |
| 97 |
</object> |
| 98 |
</child> |
| 99 |
</object> |
| 100 |
</child> |
| 101 |
<child> |
| 102 |
<object class="GtkBox"> |
| 103 |
<property name="margin_top">10</property> |
| 104 |
<property name="margin_bottom">10</property> |
| 105 |
<property name="margin_end">12</property> |
| 106 |
<property name="orientation">vertical</property> |
| 107 |
<property name="hexpand">True</property> |
| 108 |
<property name="spacing">3</property> |
| 109 |
<property name="valign">center</property> |
| 110 |
<child> |
| 111 |
<object class="GtkBox"> |
| 112 |
<property name="orientation">vertical</property> |
| 113 |
<property name="spacing">3</property> |
| 114 |
<child> |
| 115 |
<object class="GtkBox"> |
| 116 |
<property name="spacing">6</property> |
| 117 |
<child> |
| 118 |
<object class="GtkLabel" id="torrent_name_label"> |
| 119 |
<property name="halign">start</property> |
| 120 |
<property name="label" translatable="yes">Name</property> |
| 121 |
<property name="ellipsize">end</property> |
| 122 |
<property name="single_line_mode">True</property> |
| 123 |
<property name="xalign">0</property> |
| 124 |
<style> |
| 125 |
<class name="heading"/> |
| 126 |
</style> |
| 127 |
</object> |
| 128 |
</child> |
| 129 |
</object> |
| 130 |
</child> |
| 131 |
<child> |
| 132 |
<object class="GtkBox"> |
| 133 |
<property name="spacing">6</property> |
| 134 |
<child> |
| 135 |
<object class="GtkLabel" id="description_label"> |
| 136 |
<property name="halign">start</property> |
| 137 |
<property name="label">-</property> |
| 138 |
<property name="ellipsize">end</property> |
| 139 |
<property name="hexpand">True</property> |
| 140 |
<property name="single_line_mode">True</property> |
| 141 |
<property name="xalign">0</property> |
| 142 |
<style> |
| 143 |
<class name="subtitle"/> |
| 144 |
<class name="numeric"/> |
| 145 |
</style> |
| 146 |
</object> |
| 147 |
</child> |
| 148 |
<child> |
| 149 |
<object class="GtkLabel" id="eta_label"> |
| 150 |
<property name="halign">start</property> |
| 151 |
<style> |
| 152 |
<class name="subtitle"/> |
| 153 |
<class name="numeric"/> |
| 154 |
</style> |
| 155 |
</object> |
| 156 |
</child> |
| 157 |
</object> |
| 158 |
</child> |
| 159 |
</object> |
| 160 |
</child> |
| 161 |
<child> |
| 162 |
<object class="GtkProgressBar" id="progress_bar"> |
| 163 |
<accessibility> |
| 164 |
<property name="label" translatable="yes">Torrent progress</property> |
| 165 |
</accessibility> |
| 166 |
<style> |
| 167 |
<class name="thin-progressbar"/> |
| 168 |
</style> |
| 169 |
</object> |
| 170 |
</child> |
| 171 |
</object> |
| 172 |
</child> |
| 173 |
<child> |
| 174 |
<object class="GtkStack" id="action_stack"> |
| 175 |
<property name="halign">center</property> |
| 176 |
<property name="valign">center</property> |
| 177 |
<property name="hhomogeneous">False</property> |
| 178 |
<property name="vhomogeneous">False</property> |
| 179 |
<property name="transition_type">crossfade</property> |
| 180 |
<property name="margin_end">12</property> |
| 181 |
<child> |
| 182 |
<object class="GtkStackPage"> |
| 183 |
<property name="name">remove</property> |
| 184 |
<property name="child"> |
| 185 |
<object class="GtkButton"> |
| 186 |
<property name="action_name">torrent.remove</property> |
| 187 |
<property name="receives_default">True</property> |
| 188 |
<property name="halign">center</property> |
| 189 |
<property name="valign">center</property> |
| 190 |
<property name="icon_name">user-trash-symbolic</property> |
| 191 |
<property name="tooltip_text" translatable="yes">Delete</property> |
| 192 |
</object> |
| 193 |
</property> |
| 194 |
</object> |
| 195 |
</child> |
| 196 |
<child> |
| 197 |
<object class="GtkStackPage"> |
| 198 |
<property name="name">pause</property> |
| 199 |
<property name="child"> |
| 200 |
<object class="GtkBox"> |
| 201 |
<property name="spacing">6</property> |
| 202 |
<child> |
| 203 |
<object class="GtkBox" id="queue_box"> |
| 204 |
<property name="valign">center</property> |
| 205 |
<property name="orientation">vertical</property> |
| 206 |
<property name="valign">center</property> |
| 207 |
<child> |
| 208 |
<object class="GtkButton"> |
| 209 |
<property name="action_name">torrent.queue-up</property> |
| 210 |
<property name="icon_name">arrow-up-tiny-symbolic</property> |
| 211 |
<property name="receives_default">True</property> |
| 212 |
<property name="tooltip-text" translatable="yes">Queue – Move up</property> |
| 213 |
</object> |
| 214 |
</child> |
| 215 |
<child> |
| 216 |
<object class="GtkButton"> |
| 217 |
<property name="action_name">torrent.queue-down</property> |
| 218 |
<property name="icon_name">arrow-down-tiny-symbolic</property> |
| 219 |
<property name="receives_default">True</property> |
| 220 |
<property name="tooltip-text" translatable="yes">Queue – Move down</property> |
| 221 |
</object> |
| 222 |
</child> |
| 223 |
<style> |
| 224 |
<class name="linked"/> |
| 225 |
<class name="queue-button"/> |
| 226 |
</style> |
| 227 |
</object> |
| 228 |
</child> |
| 229 |
<child> |
| 230 |
<object class="GtkButton"> |
| 231 |
<property name="action_name">torrent.pause</property> |
| 232 |
<property name="receives_default">True</property> |
| 233 |
<property name="halign">center</property> |
| 234 |
<property name="valign">center</property> |
| 235 |
<property name="icon_name">media-playback-pause-symbolic</property> |
| 236 |
<property name="tooltip_text" translatable="yes">Pause</property> |
| 237 |
</object> |
| 238 |
</child> |
| 239 |
</object> |
| 240 |
</property> |
| 241 |
</object> |
| 242 |
</child> |
| 243 |
<child> |
| 244 |
<object class="GtkStackPage"> |
| 245 |
<property name="name">continue</property> |
| 246 |
<property name="child"> |
| 247 |
<object class="GtkButton"> |
| 248 |
<property name="action_name">torrent.continue</property> |
| 249 |
<property name="receives_default">True</property> |
| 250 |
<property name="halign">center</property> |
| 251 |
<property name="valign">center</property> |
| 252 |
<property name="icon_name">media-playback-start-symbolic</property> |
| 253 |
<property name="tooltip_text" translatable="yes">Continue</property> |
| 254 |
</object> |
| 255 |
</property> |
| 256 |
</object> |
| 257 |
</child> |
| 258 |
</object> |
| 259 |
</child> |
| 260 |
</object> |
| 261 |
</child> |
| 262 |
</object> |
| 263 |
</child> |
| 264 |
</template> |
| 265 |
</interface> |