diff options
author | Bastien Nocera <hadess@hadess.net> | 2006-02-08 13:58:50 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2006-02-08 13:58:50 +0000 |
commit | b4d3fbbc1084c401481e5f90466a7befcbbde661 (patch) | |
tree | ac4e457625d945fec54f25c14fa3644cd0b6fbf4 | |
parent | 8c25226ff16df1ea12cfc8a9289a709bbb0ed43d (diff) | |
download | totem-b4d3fbbc1084c401481e5f90466a7befcbbde661.tar.gz |
Don't reverse items when moving them down (Closes: #330399)
2006-02-08 Bastien Nocera <hadess@hadess.net>
* src/totem-playlist.c: (totem_playlist_move_files):
Don't reverse items when moving them down (Closes: #330399)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/totem-playlist.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-02-08 Bastien Nocera <hadess@hadess.net> + + * src/totem-playlist.c: (totem_playlist_move_files): + Don't reverse items when moving them down (Closes: #330399) + 2006-01-22 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-xine.c: diff --git a/src/totem-playlist.c b/src/totem-playlist.c index b0009aad2..b4bbe4893 100644 --- a/src/totem-playlist.c +++ b/src/totem-playlist.c @@ -936,7 +936,9 @@ totem_playlist_move_files (TotemPlaylist *playlist, gboolean direction_up) g_list_foreach (paths, (GFunc) gtk_tree_path_free, NULL); g_list_free (paths); - refs = g_list_reverse (refs); + /* Otherwise we reverse the items when moving down */ + if (direction_up != FALSE) + refs = g_list_reverse (refs); if (direction_up == FALSE) pos = pos + 2; |