1<interface domain="easytag">
2    <requires lib="gtk+" version="3.10"/>
3    <object class="GtkListStore" id="entry_model">
4        <columns>
5            <column type="gchararray"/>
6        </columns>
7    </object>
8    <object class="GtkListStore" id="file_model">
9        <columns>
10            <column type="gchararray"/>
11            <column type="gchararray"/>
12            <column type="gchararray"/>
13            <column type="gchararray"/>
14            <column type="gchararray"/>
15            <column type="gchararray"/>
16            <column type="gchararray"/>
17            <column type="gchararray"/>
18            <column type="gchararray"/>
19            <column type="gchararray"/>
20            <column type="gchararray"/>
21            <column type="gchararray"/>
22            <column type="gchararray"/>
23            <column type="gchararray"/>
24            <column type="gchararray"/>
25            <column type="gpointer"/>
26            <column type="gint"/>
27            <column type="gboolean"/>
28            <column type="gint"/>
29            <column type="GdkRGBA"/>
30            <column type="GdkRGBA"/>
31        </columns>
32    </object>
33    <object class="GtkTreeStore" id="directory_model">
34        <columns>
35            <column type="gchararray"/>
36            <column type="gchararray"/>
37            <column type="gboolean"/>
38            <column type="gboolean"/>
39            <column type="GIcon"/>
40        </columns>
41    </object>
42    <object class="GtkListStore" id="artist_model">
43        <columns>
44            <column type="GdkPixbuf"/>
45            <column type="gchararray"/>
46            <column type="guint"/>
47            <column type="guint"/>
48            <column type="gpointer"/>
49            <column type="gint"/>
50            <column type="GdkRGBA"/>
51        </columns>
52    </object>
53    <object class="GtkListStore" id="album_model">
54        <columns>
55            <column type="GIcon"/>
56            <column type="gchararray"/>
57            <column type="guint"/>
58            <column type="gpointer"/>
59            <column type="gint"/>
60            <column type="GdkRGBA"/>
61            <column type="gboolean"/>
62            <column type="gboolean"/>
63        </columns>
64    </object>
65    <template class="EtBrowser" parent="GtkBin">
66        <property name="border-width">2</property>
67        <property name="visible">True</property>
68        <child>
69            <object class="GtkGrid" id="browser_grid">
70                <property name="column-spacing">6</property>
71                <property name="row-spacing">6</property>
72                <property name="visible">True</property>
73                <child>
74                    <object class="GtkComboBox" id="entry_combo">
75                        <property name="has-entry">True</property>
76                        <property name="model">entry_model</property>
77                        <property name="entry-text-column">0</property>
78                        <property name="hexpand">True</property>
79                        <property name="tooltip-text" translatable="yes">Choose a directory to show in the browser</property>
80                        <property name="visible">True</property>
81                    </object>
82                    <packing>
83                        <property name="left-attach">0</property>
84                        <property name="top-attach">0</property>
85                    </packing>
86                </child>
87                <child>
88                    <object class="GtkButton" id="open_button">
89                        <property name="label" translatable="yes">_Open</property>
90                        <property name="tooltip-text" translatable="yes">Select a directory to browse</property>
91                        <property name="use-underline">True</property>
92                        <property name="visible">True</property>
93                    </object>
94                    <packing>
95                        <property name="left-attach">1</property>
96                        <property name="top-attach">0</property>
97                    </packing>
98                </child>
99                <child>
100                    <object class="GtkLabel" id="files_label">
101                        <property name="label" translatable="yes">No files</property>
102                        <property name="visible">True</property>
103                    </object>
104                    <packing>
105                        <property name="left-attach">2</property>
106                        <property name="top-attach">0</property>
107                    </packing>
108                </child>
109                <child>
110                    <object class="GtkPaned" id="browser_paned">
111                        <property name="orientation">horizontal</property>
112                        <property name="visible">True</property>
113                        <child>
114                            <object class="GtkNotebook" id="directory_album_artist_notebook">
115                                <property name="show-border">False</property>
116                                <property name="show-tabs">False</property>
117                                <property name="visible">True</property>
118                                <child>
119                                    <object class="GtkScrolledWindow" id="directory_scrolled">
120                                        <property name="expand">True</property>
121                                        <property name="min-content-height">225</property>
122                                        <property name="min-content-width">225</property>
123                                        <property name="visible">True</property>
124                                        <child>
125                                            <object class="GtkTreeView" id="directory_view">
126                                                <property name="model">directory_model</property>
127                                                <property name="headers-visible">False</property>
128                                                <property name="visible">True</property>
129                                                <signal name="button-press-event" handler="on_directory_tree_button_press_event"/>
130                                                <signal name="key-press-event" handler="Browser_Tree_Key_Press"/>
131                                                <signal name="popup-menu" handler="on_directory_tree_popup_menu"/>
132                                                <signal name="row-collapsed" handler="collapse_cb" swapped="true"/>
133                                                <signal name="row-expanded" handler="expand_cb" swapped="true"/>
134                                                <child>
135                                                    <object class="GtkTreeViewColumn" id="directory_column">
136                                                        <property name="sizing">autosize</property>
137                                                        <child>
138                                                            <object class="GtkCellRendererPixbuf" id="directory_icon_renderer"/>
139                                                            <attributes>
140                                                                <attribute name="gicon">4</attribute>
141                                                            </attributes>
142                                                        </child>
143                                                        <child>
144                                                            <object class="GtkCellRendererText" id="directory_text_renderer"/>
145                                                            <attributes>
146                                                                <attribute name="text">0</attribute>
147                                                            </attributes>
148                                                        </child>
149                                                    </object>
150                                                </child>
151                                                <child internal-child="selection">
152                                                    <object class="GtkTreeSelection" id="directory_selection">
153                                                        <signal name="changed" handler="Browser_Tree_Node_Selected" swapped="true"/>
154                                                    </object>
155                                                </child>
156                                            </object>
157                                        </child>
158                                    </object>
159                                </child>
160                                <child>
161                                    <object class="GtkPaned" id="artist_album_paned">
162                                        <property name="orientation">vertical</property>
163                                        <property name="visible">True</property>
164                                        <child>
165                                            <object class="GtkScrolledWindow" id="artist_scrolled">
166                                                <property name="expand">True</property>
167                                                <property name="min-content-height">225</property>
168                                                <property name="min-content-width">225</property>
169                                                <property name="visible">True</property>
170                                                <child>
171                                                    <object class="GtkTreeView" id="artist_view">
172                                                        <property name="model">artist_model</property>
173                                                        <property name="visible">True</property>
174                                                        <signal name="button-press-event" handler="on_artist_tree_button_press_event"/>
175                                                        <signal name="popup-menu" handler="on_artist_tree_popup_menu"/>
176                                                        <child>
177                                                            <object class="GtkTreeViewColumn" id="artist_view_column">
178                                                                <property name="sizing">autosize</property>
179                                                                <property name="title" translatable="yes">Artist</property>
180                                                                <child>
181                                                                    <object class="GtkCellRendererPixbuf" id="artist_icon_renderer"/>
182                                                                    <attributes>
183                                                                        <attribute name="pixbuf">0</attribute>
184                                                                    </attributes>
185                                                                </child>
186                                                                <child>
187                                                                    <object class="GtkCellRendererText" id="artist_text_renderer"/>
188                                                                    <attributes>
189                                                                        <attribute name="foreground-rgba">6</attribute>
190                                                                        <attribute name="text">1</attribute>
191                                                                        <attribute name="weight">5</attribute>
192                                                                    </attributes>
193                                                                </child>
194                                                            </object>
195                                                        </child>
196                                                        <child>
197                                                            <object class="GtkTreeViewColumn" id="artist_n_albums_column">
198                                                                <property name="sizing">autosize</property>
199                                                                <property name="title" translatable="yes"># Albums</property>
200                                                                <child>
201                                                                    <object class="GtkCellRendererText" id="artist_n_albums_text_renderer"/>
202                                                                    <attributes>
203                                                                        <attribute name="foreground-rgba">6</attribute>
204                                                                        <attribute name="text">2</attribute>
205                                                                        <attribute name="weight">5</attribute>
206                                                                    </attributes>
207                                                                </child>
208                                                            </object>
209                                                        </child>
210                                                        <child>
211                                                            <object class="GtkTreeViewColumn" id="artist_n_files_column">
212                                                                <property name="sizing">autosize</property>
213                                                                <property name="title" translatable="yes"># Files</property>
214                                                                <child>
215                                                                    <object class="GtkCellRendererText" id="artist_n_files_text_renderer"/>
216                                                                    <attributes>
217                                                                        <attribute name="foreground-rgba">6</attribute>
218                                                                        <attribute name="text">3</attribute>
219                                                                        <attribute name="weight">5</attribute>
220                                                                    </attributes>
221                                                                </child>
222                                                            </object>
223                                                        </child>
224                                                    </object>
225                                                </child>
226                                            </object>
227                                        </child>
228                                        <child>
229                                            <object class="GtkScrolledWindow" id="album_scrolled">
230                                                <property name="expand">True</property>
231                                                <property name="min-content-height">225</property>
232                                                <property name="min-content-width">225</property>
233                                                <property name="visible">True</property>
234                                                <child>
235                                                    <object class="GtkTreeView" id="album_view">
236                                                        <property name="model">album_model</property>
237                                                        <property name="visible">True</property>
238                                                        <signal name="button-press-event" handler="on_album_tree_button_press_event"/>
239                                                        <signal name="popup-menu" handler="on_album_tree_popup_menu"/>
240                                                        <child>
241                                                            <object class="GtkTreeViewColumn" id="album_view_column">
242                                                                <property name="sizing">autosize</property>
243                                                                <property name="title" translatable="yes">Album</property>
244                                                                <child>
245                                                                    <object class="GtkCellRendererPixbuf" id="album_icon_renderer"/>
246                                                                    <attributes>
247                                                                        <attribute name="gicon">0</attribute>
248                                                                    </attributes>
249                                                                </child>
250                                                                <child>
251                                                                    <object class="GtkCellRendererText" id="album_text_renderer"/>
252                                                                    <attributes>
253                                                                        <attribute name="foreground-rgba">5</attribute>
254                                                                        <attribute name="text">1</attribute>
255                                                                        <attribute name="weight">4</attribute>
256                                                                    </attributes>
257                                                                </child>
258                                                            </object>
259                                                        </child>
260                                                        <child>
261                                                            <object class="GtkTreeViewColumn" id="album_n_files_column">
262                                                                <property name="sizing">autosize</property>
263                                                                <property name="title" translatable="yes"># Files</property>
264                                                                <child>
265                                                                    <object class="GtkCellRendererText" id="album_n_files_text_renderer"/>
266                                                                    <attributes>
267                                                                        <attribute name="foreground-rgba">5</attribute>
268                                                                        <attribute name="text">2</attribute>
269                                                                        <attribute name="weight">4</attribute>
270                                                                    </attributes>
271                                                                </child>
272                                                            </object>
273                                                        </child>
274                                                    </object>
275                                                </child>
276                                            </object>
277                                            <packing>
278                                                <property name="resize">True</property>
279                                                <property name="shrink">False</property>
280                                            </packing>
281                                        </child>
282                                    </object>
283                                </child>
284                            </object>
285                            <packing>
286                                <property name="resize">True</property>
287                                <property name="shrink">False</property>
288                            </packing>
289                        </child>
290                        <child>
291                            <object class="GtkScrolledWindow" id="files_scrolled">
292                                <property name="expand">True</property>
293                                <property name="min-content-height">225</property>
294                                <property name="min-content-width">225</property>
295                                <property name="visible">True</property>
296                                <child>
297                                    <object class="GtkTreeView" id="file_view">
298                                        <property name="model">file_model</property>
299                                        <property name="visible">True</property>
300                                        <signal name="button-press-event" handler="on_file_tree_button_press_event"/>
301                                        <signal name="key-press-event" handler="Browser_List_Key_Press"/>
302                                        <signal name="popup-menu" handler="on_file_tree_popup_menu"/>
303                                        <child>
304                                            <object class="GtkTreeViewColumn" id="filename_column">
305                                                <property name="clickable">True</property>
306                                                <property name="resizable">True</property>
307                                                <property name="title" translatable="yes">Filename</property>
308                                                <child>
309                                                    <object class="GtkCellRendererText" id="filename_renderer"/>
310                                                    <attributes>
311                                                        <attribute name="background-rgba">19</attribute>
312                                                        <attribute name="foreground-rgba">20</attribute>
313                                                        <attribute name="text">0</attribute>
314                                                        <attribute name="weight">18</attribute>
315                                                    </attributes>
316                                                </child>
317                                            </object>
318                                        </child>
319                                        <child>
320                                            <object class="GtkTreeViewColumn" id="title_column">
321                                                <property name="clickable">True</property>
322                                                <property name="resizable">True</property>
323                                                <property name="title" translatable="yes">Title</property>
324                                                <child>
325                                                    <object class="GtkCellRendererText" id="title_renderer"/>
326                                                    <attributes>
327                                                        <attribute name="background-rgba">19</attribute>
328                                                        <attribute name="foreground-rgba">20</attribute>
329                                                        <attribute name="text">1</attribute>
330                                                        <attribute name="weight">18</attribute>
331                                                    </attributes>
332                                                </child>
333                                            </object>
334                                        </child>
335                                        <child>
336                                            <object class="GtkTreeViewColumn" id="artist_column">
337                                                <property name="clickable">True</property>
338                                                <property name="resizable">True</property>
339                                                <property name="title" translatable="yes">Artist</property>
340                                                <child>
341                                                    <object class="GtkCellRendererText" id="artist_renderer"/>
342                                                    <attributes>
343                                                        <attribute name="background-rgba">19</attribute>
344                                                        <attribute name="foreground-rgba">20</attribute>
345                                                        <attribute name="text">2</attribute>
346                                                        <attribute name="weight">18</attribute>
347                                                    </attributes>
348                                                </child>
349                                            </object>
350                                        </child>
351                                        <child>
352                                            <object class="GtkTreeViewColumn" id="album_artist_column">
353                                                <property name="clickable">True</property>
354                                                <property name="resizable">True</property>
355                                                <property name="title" translatable="yes">Album Artist</property>
356                                                <child>
357                                                    <object class="GtkCellRendererText" id="album_artist_renderer"/>
358                                                    <attributes>
359                                                        <attribute name="background-rgba">19</attribute>
360                                                        <attribute name="foreground-rgba">20</attribute>
361                                                        <attribute name="text">3</attribute>
362                                                        <attribute name="weight">18</attribute>
363                                                    </attributes>
364                                                </child>
365                                            </object>
366                                        </child>
367                                        <child>
368                                            <object class="GtkTreeViewColumn" id="album_column">
369                                                <property name="clickable">True</property>
370                                                <property name="resizable">True</property>
371                                                <property name="title" translatable="yes">Album</property>
372                                                <child>
373                                                    <object class="GtkCellRendererText" id="album_renderer"/>
374                                                    <attributes>
375                                                        <attribute name="background-rgba">19</attribute>
376                                                        <attribute name="foreground-rgba">20</attribute>
377                                                        <attribute name="text">4</attribute>
378                                                        <attribute name="weight">18</attribute>
379                                                    </attributes>
380                                                </child>
381                                            </object>
382                                        </child>
383                                        <child>
384                                            <object class="GtkTreeViewColumn" id="year_column">
385                                                <property name="clickable">True</property>
386                                                <property name="resizable">True</property>
387                                                <property name="title" translatable="yes">Year</property>
388                                                <child>
389                                                    <object class="GtkCellRendererText" id="year_renderer"/>
390                                                    <attributes>
391                                                        <attribute name="background-rgba">19</attribute>
392                                                        <attribute name="foreground-rgba">20</attribute>
393                                                        <attribute name="text">5</attribute>
394                                                        <attribute name="weight">18</attribute>
395                                                    </attributes>
396                                                </child>
397                                            </object>
398                                        </child>
399                                        <child>
400                                            <object class="GtkTreeViewColumn" id="disc_column">
401                                                <property name="clickable">True</property>
402                                                <property name="resizable">True</property>
403                                                <property name="title" translatable="yes">Disc</property>
404                                                <child>
405                                                    <object class="GtkCellRendererText" id="disc_renderer"/>
406                                                    <attributes>
407                                                        <attribute name="background-rgba">19</attribute>
408                                                        <attribute name="foreground-rgba">20</attribute>
409                                                        <attribute name="text">6</attribute>
410                                                        <attribute name="weight">18</attribute>
411                                                    </attributes>
412                                                </child>
413                                            </object>
414                                        </child>
415                                        <child>
416                                            <object class="GtkTreeViewColumn" id="track_column">
417                                                <property name="clickable">True</property>
418                                                <property name="resizable">True</property>
419                                                <property name="title" translatable="yes">Track</property>
420                                                <child>
421                                                    <object class="GtkCellRendererText" id="track_renderer"/>
422                                                    <attributes>
423                                                        <attribute name="background-rgba">19</attribute>
424                                                        <attribute name="foreground-rgba">20</attribute>
425                                                        <attribute name="text">7</attribute>
426                                                        <attribute name="weight">18</attribute>
427                                                    </attributes>
428                                                </child>
429                                            </object>
430                                        </child>
431                                        <child>
432                                            <object class="GtkTreeViewColumn" id="genre_column">
433                                                <property name="clickable">True</property>
434                                                <property name="resizable">True</property>
435                                                <property name="title" translatable="yes">Genre</property>
436                                                <child>
437                                                    <object class="GtkCellRendererText" id="genre_renderer"/>
438                                                    <attributes>
439                                                        <attribute name="background-rgba">19</attribute>
440                                                        <attribute name="foreground-rgba">20</attribute>
441                                                        <attribute name="text">8</attribute>
442                                                        <attribute name="weight">18</attribute>
443                                                    </attributes>
444                                                </child>
445                                            </object>
446                                        </child>
447                                        <child>
448                                            <object class="GtkTreeViewColumn" id="comment_column">
449                                                <property name="clickable">True</property>
450                                                <property name="resizable">True</property>
451                                                <property name="title" translatable="yes">Comment</property>
452                                                <child>
453                                                    <object class="GtkCellRendererText" id="comment_renderer"/>
454                                                    <attributes>
455                                                        <attribute name="background-rgba">19</attribute>
456                                                        <attribute name="foreground-rgba">20</attribute>
457                                                        <attribute name="text">9</attribute>
458                                                        <attribute name="weight">18</attribute>
459                                                    </attributes>
460                                                </child>
461                                            </object>
462                                        </child>
463                                        <child>
464                                            <object class="GtkTreeViewColumn" id="composer_column">
465                                                <property name="clickable">True</property>
466                                                <property name="resizable">True</property>
467                                                <property name="title" translatable="yes">Composer</property>
468                                                <child>
469                                                    <object class="GtkCellRendererText" id="composer_renderer"/>
470                                                    <attributes>
471                                                        <attribute name="background-rgba">19</attribute>
472                                                        <attribute name="foreground-rgba">20</attribute>
473                                                        <attribute name="text">10</attribute>
474                                                        <attribute name="weight">18</attribute>
475                                                    </attributes>
476                                                </child>
477                                            </object>
478                                        </child>
479                                        <child>
480                                            <object class="GtkTreeViewColumn" id="orig_artist_column">
481                                                <property name="clickable">True</property>
482                                                <property name="resizable">True</property>
483                                                <property name="title" translatable="yes">Original Artist</property>
484                                                <child>
485                                                    <object class="GtkCellRendererText" id="orig_artist_renderer"/>
486                                                    <attributes>
487                                                        <attribute name="background-rgba">19</attribute>
488                                                        <attribute name="foreground-rgba">20</attribute>
489                                                        <attribute name="text">11</attribute>
490                                                        <attribute name="weight">18</attribute>
491                                                    </attributes>
492                                                </child>
493                                            </object>
494                                        </child>
495                                        <child>
496                                            <object class="GtkTreeViewColumn" id="copyright_column">
497                                                <property name="clickable">True</property>
498                                                <property name="resizable">True</property>
499                                                <property name="title" translatable="yes">Copyright</property>
500                                                <child>
501                                                    <object class="GtkCellRendererText" id="copyright_renderer"/>
502                                                    <attributes>
503                                                        <attribute name="background-rgba">19</attribute>
504                                                        <attribute name="foreground-rgba">20</attribute>
505                                                        <attribute name="text">12</attribute>
506                                                        <attribute name="weight">18</attribute>
507                                                    </attributes>
508                                                </child>
509                                            </object>
510                                        </child>
511                                        <child>
512                                            <object class="GtkTreeViewColumn" id="url_column">
513                                                <property name="clickable">True</property>
514                                                <property name="resizable">True</property>
515                                                <property name="title" translatable="yes">URL</property>
516                                                <child>
517                                                    <object class="GtkCellRendererText" id="url_renderer"/>
518                                                    <attributes>
519                                                        <attribute name="background-rgba">19</attribute>
520                                                        <attribute name="foreground-rgba">20</attribute>
521                                                        <attribute name="text">13</attribute>
522                                                        <attribute name="weight">18</attribute>
523                                                    </attributes>
524                                                </child>
525                                            </object>
526                                        </child>
527                                        <child>
528                                            <object class="GtkTreeViewColumn" id="encoded_by_column">
529                                                <property name="clickable">True</property>
530                                                <property name="resizable">True</property>
531                                                <property name="title" translatable="yes">Encoded By</property>
532                                                <child>
533                                                    <object class="GtkCellRendererText" id="encoded_by_renderer"/>
534                                                    <attributes>
535                                                        <attribute name="background-rgba">19</attribute>
536                                                        <attribute name="foreground-rgba">20</attribute>
537                                                        <attribute name="text">14</attribute>
538                                                        <attribute name="weight">18</attribute>
539                                                    </attributes>
540                                                </child>
541                                            </object>
542                                        </child>
543                                        <child internal-child="selection">
544                                            <object class="GtkTreeSelection" id="files_selection">
545                                                <property name="mode">multiple</property>
546                                            </object>
547                                        </child>
548                                    </object>
549                                </child>
550                            </object>
551                        </child>
552                    </object>
553                    <packing>
554                        <property name="left-attach">0</property>
555                        <property name="top-attach">1</property>
556                        <property name="width">3</property>
557                    </packing>
558                </child>
559            </object>
560        </child>
561    </template>
562</interface>
563