GNOME Bugzilla – Bug 521329
Inconsistent behaviour of the 'previous track' button
Last modified: 2008-04-08 12:40:46 UTC
Depending on which 'previous track' button is pressed (in the shell player vs. all other possibilities such as the multimedia keys on the keyboard), either rb_shell_player_do_previous_or_seek() or rb_shell_player_do_previous() is executed. This results that RB skips to the beginning of the current track when pressed on the main UI, but to the beginning of the previous track when pressed anywhere else (and the playtime is > 3 sesonds).
Created attachment 106887 [details] [review] Consistent behaviour of 'previous track' functions throughout the application This patch removes the function rb_shell_player_do_previous_or_seek() and moves the 3-second check from this function to rb_shell_player_do_previous(). This results in any 'previous' button currently found in RB to behave identical to other media players, standalone CD/DVD players and so on. Plugins do not have to be changed since they always called rb_shell_player_do_previous().
Committed to svn. Since this was just moving bits of existing code around, I didn't think it necessary to ask about relicensing (bug 513617).