changeset 3367:b47e36a480b3 trunk

don't call mainwin_update_song_info if track isn't played
author Tomasz Mon <desowin@gmail.com>
date Sun, 19 Aug 2007 10:45:24 +0200
parents ac752b5db631
children 1521e3a16e40
files src/audacious/ui_main.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_main.c	Sun Aug 19 10:40:43 2007 +0200
+++ b/src/audacious/ui_main.c	Sun Aug 19 10:45:24 2007 +0200
@@ -2119,7 +2119,8 @@
         set_timer_mode(TIMER_REMAINING);
     else
         set_timer_mode(TIMER_ELAPSED);
-    mainwin_update_song_info();
+    if (playback_get_playing())
+        mainwin_update_song_info();
 }
 
 static void