ocarina/gui
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
..
Sconscript gui/ocarina: Convert file to C 2016-05-27 12:01:43 -04:00
audio.c gui/audio: Handle favorite and hide buttons 2016-05-27 12:01:43 -04:00
builder.c gui/builder: Get a widget from the GTK builder 2016-04-08 12:03:08 -04:00
collection.c gui/collection: Move collection_ops into collection.c 2016-05-27 12:01:43 -04:00
history.c gui/history: Convert file to C 2016-05-27 12:01:43 -04:00
model.c gui/model: Set text to bold for the currently playing track 2016-06-07 09:14:52 -04:00
ocarina.c gui/sidebar: Select first enabled queue during startup 2016-06-04 13:52:09 -04:00
playlist.c gui: Remove C++ playlist code 2016-05-27 12:01:43 -04:00
queue.c gui/view: Scroll to the current queue's iterator position 2016-05-27 12:01:43 -04:00
settings.c gui/settings: Add gui_settings_has() function 2016-04-08 12:03:08 -04:00
sidebar.c gui/sidebar: Select first enabled queue during startup 2016-06-04 13:52:09 -04:00
tempq.c gui/tempq: Don't save queues from __tempq_cleared() 2016-06-04 13:41:21 -04:00
view.c gui/view: Scrolling improvements 2016-06-08 08:23:53 -04:00
window.c gui/window: Save width and height between sessions 2016-04-29 13:04:45 -04:00