episode_widget.ui 12.9 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Generated with glade 3.20.2 -->
3 4
<interface>
  <requires lib="gtk+" version="3.20"/>
5
  <object class="GtkBox" id="episode_container">
6 7
    <property name="visible">True</property>
    <property name="can_focus">False</property>
8
    <property name="orientation">vertical</property>
9 10 11 12
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
13
        <property name="spacing">6</property>
14
        <child>
15
          <object class="GtkBox">
16 17
            <property name="visible">True</property>
            <property name="can_focus">False</property>
18
            <property name="valign">start</property>
19
            <property name="orientation">vertical</property>
20
            <property name="spacing">6</property>
21
            <child>
22
              <object class="GtkBox">
23 24
                <property name="visible">True</property>
                <property name="can_focus">False</property>
25
                <property name="halign">start</property>
26 27 28 29 30 31
                <child>
                  <object class="GtkLabel" id="title_label">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="label" translatable="yes">Episode Title</property>
                    <property name="ellipsize">end</property>
32
                    <property name="single_line_mode">True</property>
33
                    <property name="max_width_chars">64</property>
34 35 36 37 38 39 40 41 42
                    <property name="track_visited_links">False</property>
                    <property name="lines">1</property>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">0</property>
                  </packing>
                </child>
43 44
              </object>
              <packing>
45
                <property name="expand">False</property>
46 47 48 49 50 51 52 53
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkBox">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
54
                <property name="halign">start</property>
55
                <property name="spacing">6</property>
56
                <child>
57
                  <object class="GtkLabel" id="date_label">
58 59
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
60
                    <property name="label" translatable="yes">3 Jan</property>
61
                    <property name="single_line_mode">True</property>
62
                    <property name="track_visited_links">False</property>
63 64 65
                    <style>
                      <class name="dim-label"/>
                    </style>
66 67 68 69 70 71 72
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">0</property>
                  </packing>
                </child>
73
                <child>
74
                  <object class="GtkLabel" id="separator1">
75
                    <property name="can_focus">False</property>
76 77
                    <property name="no_show_all">True</property>
                    <property name="label" translatable="yes">·</property>
78
                    <property name="track_visited_links">False</property>
79 80 81
                    <style>
                      <class name="dim-label"/>
                    </style>
82 83 84 85 86 87 88
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">1</property>
                  </packing>
                </child>
89
                <child>
90
                  <object class="GtkLabel" id="duration_label">
91
                    <property name="can_focus">False</property>
92 93
                    <property name="no_show_all">True</property>
                    <property name="label" translatable="yes">42 min</property>
94
                    <property name="single_line_mode">True</property>
95
                    <property name="track_visited_links">False</property>
96 97 98
                    <style>
                      <class name="dim-label"/>
                    </style>
99 100 101 102
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
103
                    <property name="position">2</property>
104 105
                  </packing>
                </child>
106
                <child>
107
                  <object class="GtkLabel" id="separator2">
108
                    <property name="can_focus">False</property>
109
                    <property name="no_show_all">True</property>
110
                    <property name="label" translatable="yes">·</property>
111
                    <property name="track_visited_links">False</property>
112 113 114
                    <style>
                      <class name="dim-label"/>
                    </style>
115 116 117 118 119 120 121 122
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">3</property>
                  </packing>
                </child>
                <child>
123
                  <object class="GtkLabel" id="local_size">
124
                    <property name="can_focus">False</property>
125
                    <property name="no_show_all">True</property>
126
                    <property name="label" translatable="yes">0 MB</property>
127
                    <property name="single_line_mode">True</property>
128
                    <property name="track_visited_links">False</property>
129 130 131
                    <style>
                      <class name="dim-label"/>
                    </style>
132 133 134 135 136 137 138 139
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">4</property>
                  </packing>
                </child>
                <child>
140
                  <object class="GtkLabel" id="prog_separator">
141 142
                    <property name="can_focus">False</property>
                    <property name="no_show_all">True</property>
143
                    <property name="label" translatable="yes">/</property>
144
                    <property name="single_line_mode">True</property>
145
                    <property name="track_visited_links">False</property>
146 147 148
                    <style>
                      <class name="dim-label"/>
                    </style>
149 150 151 152 153 154 155
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">5</property>
                  </packing>
                </child>
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
                <child>
                  <object class="GtkLabel" id="total_size">
                    <property name="can_focus">False</property>
                    <property name="no_show_all">True</property>
                    <property name="label" translatable="yes">XX MB</property>
                    <property name="single_line_mode">True</property>
                    <property name="track_visited_links">False</property>
                    <style>
                      <class name="dim-label"/>
                    </style>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">6</property>
                  </packing>
                </child>
173 174
              </object>
              <packing>
175
                <property name="expand">False</property>
176 177 178 179
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
180 181
          </object>
          <packing>
182
            <property name="expand">False</property>
183
            <property name="fill">True</property>
184
            <property name="padding">6</property>
185 186 187 188
            <property name="position">0</property>
          </packing>
        </child>
        <child>
189
          <object class="GtkBox">
190
            <property name="visible">True</property>
191
            <property name="can_focus">False</property>
192
            <property name="spacing">6</property>
193
            <child>
194 195
              <object class="GtkButton" id="cancel_button">
                <property name="label" translatable="yes">Cancel</property>
196
                <property name="sensitive">False</property>
197
                <property name="can_focus">True</property>
198
                <property name="receives_default">False</property>
199
                <property name="no_show_all">True</property>
200
                <property name="valign">center</property>
201 202 203
              </object>
              <packing>
                <property name="expand">False</property>
204
                <property name="fill">False</property>
205 206 207 208 209 210
                <property name="pack_type">end</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="download_button">
211
                <property name="visible">True</property>
212 213
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
214
                <property name="no_show_all">True</property>
215
                <property name="tooltip_text" translatable="yes">Download this episode</property>
216
                <property name="halign">end</property>
217
                <property name="valign">center</property>
218 219 220 221 222 223 224 225
                <property name="always_show_image">True</property>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="icon_name">document-save-symbolic</property>
                  </object>
                </child>
226
              </object>
227 228 229 230 231 232 233 234 235 236 237
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="pack_type">end</property>
                <property name="position">2</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="play_button">
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
238
                <property name="no_show_all">True</property>
239
                <property name="tooltip_text" translatable="yes">Play this episode</property>
240
                <property name="valign">center</property>
241 242 243 244 245 246 247 248 249 250 251 252 253 254
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="icon_name">media-playback-start-symbolic</property>
                  </object>
                </child>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="pack_type">end</property>
                <property name="position">3</property>
              </packing>
255
            </child>
256 257
          </object>
          <packing>
258
            <property name="expand">False</property>
259
            <property name="fill">True</property>
260
            <property name="padding">6</property>
261
            <property name="pack_type">end</property>
262 263 264 265 266
            <property name="position">1</property>
          </packing>
        </child>
      </object>
      <packing>
267 268
        <property name="expand">True</property>
        <property name="fill">False</property>
269
        <property name="padding">6</property>
270
        <property name="position">0</property>
271 272 273 274 275
      </packing>
    </child>
    <child>
      <object class="GtkProgressBar" id="progress_bar">
        <property name="can_focus">False</property>
276
        <property name="no_show_all">True</property>
277
        <property name="pulse_step">0</property>
278 279 280 281
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
282
        <property name="padding">6</property>
283
        <property name="pack_type">end</property>
284
        <property name="position">1</property>
285 286 287 288
      </packing>
    </child>
  </object>
</interface>