GNOME Bugzilla – Bug 430780
Scroll to the track being ripped
Last modified: 2008-01-05 13:19:25 UTC
[ Forwarded from http://bugs.debian.org/400264 ] "When it starts playing a file, Rhythmbox scrolls its file list to display the file. Sound Juicer does not do so when it starts ripping a track. I think it would be nice if it did so."
Yes, this sounds like a great idea. Simply call gtk_tree_view_scroll_to_cell() when changing the currently played or ripped track, so that the treeview scrolls. Perfect gnome-love material.
Created attachment 102163 [details] [review] Patch to add scroll to track being ripped or played.
I'd prefer not to use _set_cursor() as that moves the focus, can you try using gtk_tree_view_scroll_to_cell()?
Created attachment 102179 [details] [review] Patch to add scroll to track being ripped or played using scroll_to_cell Updated patch to use gtk_tree_view_scroll_to_cell.
I have uploaded an updated patch using gtk_tree_view_scroll_to_cell() but I must admit I prefer the _set_cursor() one. Before you think I blatantly ignored your comment in Comment #1 (I wouldn't do that :-), I had made a conscious decision to use it and not call gtk_widget_grab_focus() so I didn't move the keyboard focus to the cell, instead leaving it on the stop button. Cheers, Dave
Ah, in that case, I'll go with the first patch, as you've seen then both in use. Thanks!