changeset 2268:69c9f0e21447 trunk

[svn] - in playlist_fileinfo(), try to find a decoder for the selected entry before falling back to default info window
author giacomo
date Thu, 04 Jan 2007 08:46:19 -0800
parents 8c9e27a834fd
children 18228302c204
files ChangeLog audacious/playlist.c
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <james@develia.org>
+  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 <kiyoshi.aman@gmail.com>
   revision [3537]
   Update po/; translators, you *will* need to update your translations.
--- 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)