A GTK+ / GStreamer based music player
Go to file
Anna Schumaker f50c1541a1 gui/view: Scrolling improvements
This patch fixes two issues.  First, I disable scrolling when the user
has manually selected a track.  I've found that extra scrolling in this
case can be disorienting, and frequently ends up with the wrong track
selected due to how queue iterators are set so it's probably best just
to disable scrolling in this case.

This patch also changes the order of calls to set_cursor() and
scroll_to_cell().  I've found that scrolling before setting the cursor
causes the GtkTreeView to ignore alignment settings unless the row is
already on the screen.  Switching the order makes everything work
properly.

Fixes #57: Wrong track is sometimes scrolled to
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2016-06-08 08:23:53 -04:00
core core/audio: Trigger queue updates when changing tracks 2016-06-07 09:01:13 -04:00
gui gui/view: Scrolling improvements 2016-06-08 08:23:53 -04:00
include gui/model: Set text to bold for the currently playing track 2016-06-07 09:14:52 -04:00
share gui/model: Set text to bold for the currently playing track 2016-06-07 09:14:52 -04:00
tests gui/model: Set text to bold for the currently playing track 2016-06-07 09:14:52 -04:00
.gitattributes Ocarina 6.3 2015-01-16 13:05:43 -05:00
.gitignore Remove Doxygen tags 2015-09-02 14:24:42 -04:00
.gitlab-ci.yml Set gitlab-ci stages on one line 2016-02-26 14:31:12 -05:00
CHANGELOG gui/view: Scrolling improvements 2016-06-08 08:23:53 -04:00
LICENSE Update the license 2014-04-06 19:57:06 -04:00
PKGBUILD Ocarina 6.4.12 2016-05-27 11:49:33 -04:00
README Add git protocol entry to the README 2016-02-23 11:27:04 -05:00
Sconstruct Ocarina 6.4.13-rc 2016-05-27 12:04:14 -04:00
TODO TODO list updates 2016-05-16 14:27:06 -04:00

README

Alternate clone url:
	$ git clone git://git.ocarinaproject.net/anna/ocarina.git

Build:
	$ scons

Clean:
	$ scons -c

Install:
	$ sudo scons install

Uninstall:
	$ sudo scons -c install

Build tests:
	$ scons tests

Clean tests:
	$ scons -c tests