# HG changeset patch # User giacomo # Date 1167929179 28800 # Node ID 69c9f0e21447789e24002eb893800ad0f10068eb # Parent 8c9e27a834fd01c67dd2f3f8523a468c0cb6df72 [svn] - in playlist_fileinfo(), try to find a decoder for the selected entry before falling back to default info window diff -r 8c9e27a834fd -r 69c9f0e21447 ChangeLog --- a/ChangeLog Thu Jan 04 08:11:28 2007 -0800 +++ b/ChangeLog Thu Jan 04 08:46:19 2007 -0800 @@ -1,3 +1,16 @@ +2007-01-04 16:11:28 +0000 Giacomo Lozito + revision [3539] + - namespace for playlist menus (part 3, hopefully the last); separated concepts and actions for current_track_info and playlist_track_info, the second still needs some work + trunk/audacious/actions-mainwin.h | 2 + trunk/audacious/actions-playlist.h | 72 +++++++++++++++--------------- + trunk/audacious/ui/mainwin.ui | 2 + trunk/audacious/ui/playlist.ui | 2 + trunk/audacious/ui_main.c | 2 + trunk/audacious/ui_manager.c | 85 ++++++++++++++++++------------------ + trunk/audacious/ui_playlist.c | 87 ++++++++++++++++--------------------- + 7 files changed, 122 insertions(+), 130 deletions(-) + + 2007-01-04 15:49:55 +0000 Kiyoshi Aman revision [3537] Update po/; translators, you *will* need to update your translations. diff -r 8c9e27a834fd -r 69c9f0e21447 audacious/playlist.c --- a/audacious/playlist.c Thu Jan 04 08:11:28 2007 -0800 +++ b/audacious/playlist.c Thu Jan 04 08:46:19 2007 -0800 @@ -2283,6 +2283,9 @@ if (tuple != NULL) { + if (entry->decoder == NULL) + entry->decoder = input_check_file(entry->filename, FALSE); /* try to find a decoder */ + if (entry->decoder != NULL && entry->decoder->file_info_box == NULL) fileinfo_show_for_tuple(tuple); else if (entry->decoder != NULL && entry->decoder->file_info_box != NULL)