~elementary-apps/noise/0.4.x

Viewing all changes in revision 2127.

  • Committer: Corentin Noël
  • Author(s): Baptiste Gelez
  • Date: 2017-11-03 10:39:06 UTC
  • Revision ID: git-v1:e56cb30d9beaa45b13c71ab9fb978d7100144cfa
Change the queue mechanism to make it less confusing (#65)

* Change the queue mechanism to make it less confusing

Fix #2

Now, when you double-click on a song, it is played and other songs of
the current list are added to the queue.

Also improved the style of some parts of the code, and changed many
Gee.HashMap<int, Media> to ArrayList<int, Media> (they were acting as
arrays, I don't know why they were maps).

* Remove `this` when possible

* Use GObject construction as much as possible

* Use Playlist.get, Playlist.set and Playlist.iterator when possible

* Soft-copy lists in ListView.vala

* construct accessor on properties needing it

* Make Noise.Plugins.CDView.dev public to support construct

* Fix many GObject warninsgs and segfaults

* Make it possible to jump to a specific track from the queue

* Fix duplicated queue bug

* Order the queue correctly

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: