• Marinus Schraal's avatar
    Let consumers handle playlists availability · 8e9e5e54
    Marinus Schraal authored
    PlaylistsView and MPRIS want to know when playlists become available to
    setup some actions. This was previously done by emitting a signal after
    the initial load of playlists. However, in certain  conditions this
    signal could already have fired before the consumer was even read, so no
    initial action would be taken.
    
    For example, PlaylistsView by default selects a row for intial display
    when the list is filled. However, without a signal being received, no
    row is selected to display.
    
    Now PlaylistsView instead directly listens to the playlists model for
    changes and uses an initial state variable to check if it is needed to
    activate a row.
    
    Closes: #348
    8e9e5e54
Name
Last commit
Last update
data Loading commit data...
gnomemusic Loading commit data...
help Loading commit data...
po Loading commit data...
subprojects Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
gnome-music.doap Loading commit data...
gnome-music.in Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
meson_post_conf.py Loading commit data...
meson_post_install.py Loading commit data...
org.gnome.Music.json Loading commit data...