[meta] views and widgets: Use Gtk.Template
PyGObject has recently introduced an implementation of Gtk.Template.
All views and widgets should be converted to this new mechanism. This should help cleanup the codebase and preferably also split the ui/logic when doing the conversion.
You can see an example in playertoolbar.py
This bug tries to inventory all the classes that need to be converted:
-
AboutDialog (application.py) (!213 (merged)) -
AlbumCover (albumsview.py) (!208 (merged)) -
AlbumWidget (!172 (merged)) -
ArtistAlbumsWidget (!180 (merged)) -
ArtistAlbumWidget (!180 (merged)) -
DiscBox (disclistboxwidget.py) (!180 (merged)) -
EmptyView (emptyview.py) (!155 (merged)) -
EmptySearchView (emptysearchview.py) (!155 (merged)) -
SelectionToolbar (!124 (merged)) -
SongWidget (!146 (merged)) -
PlayerToolbar (!124 (merged)) -
PlaylistDialog (!167 (merged)) -
PlaylistView (!188 (merged)) -
Toolbar (!150 (merged))
Edited by Marinus Schraal