changeset 2460:5e8526a4f554 trunk

[svn] - added a new hook: playlist set info
author giacomo
date Thu, 01 Feb 2007 06:09:53 -0800
parents 67c7de5f6506
children d6315e592e40
files ChangeLog src/audacious/playlist.c
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Feb 01 03:34:37 2007 -0800
+++ b/ChangeLog	Thu Feb 01 06:09:53 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-01 11:34:37 +0000  Strahinja Kustudi <kustodian@gmail.com>
+  revision [3928]
+  Updated translations
+  trunk/po/sr.po      |   46 +++++++++++++++++++---------------------------
+  trunk/po/sr@Latn.po |   46 +++++++++++++++++++---------------------------
+  2 files changed, 38 insertions(+), 54 deletions(-)
+
+
 2007-02-01 07:40:02 +0000  
   revision [3926]
   * Update Japanese translation.
--- a/src/audacious/playlist.c	Thu Feb 01 03:34:37 2007 -0800
+++ b/src/audacious/playlist.c	Thu Feb 01 06:09:53 2007 -0800
@@ -981,6 +981,9 @@
     playlist_recalc_total_time(playlist);
 
     mainwin_set_song_info(rate, freq, nch);
+
+    if ( playlist->position )
+        hook_call( "playlist set info" , playlist->position );
 }
 
 void
@@ -1002,6 +1005,9 @@
     playlist_recalc_total_time(playlist);
 
     mainwin_set_song_info(rate, freq, nch);
+
+    if ( playlist->position )
+        hook_call( "playlist set info" , playlist->position );
 }
 
 void