# HG changeset patch # User nenolod # Date 1133054575 28800 # Node ID 9118a2e2d19228027732e37bd777a22ee805bca6 # Parent bc265f3727f45f064b7b9453bc720e13cf600180 [svn] Closer, but doesn't do it properly. diff -r bc265f3727f4 -r 9118a2e2d192 audacious/mainwin.c --- a/audacious/mainwin.c Sat Nov 26 17:08:15 2005 -0800 +++ b/audacious/mainwin.c Sat Nov 26 17:22:55 2005 -0800 @@ -3356,9 +3356,10 @@ else count--; - draw_playlist_window(TRUE); - draw_equalizer_window(FALSE); - + draw_playlist_window(mainwin_force_redraw); + draw_equalizer_window(mainwin_force_redraw); + + /* what is this for? see below. --nenolod */ mainwin_force_redraw = FALSE; if (mainwin_title_text) { @@ -3370,6 +3371,13 @@ mainwin_set_info_text(); playlistwin_update_list(); + + /* set mainwin_force_redraw so that the windows are redrawn + * when the title_text has changed. (new song), this should + * enforce updates of the playlist window. --nenolod + */ + mainwin_force_redraw = TRUE; + draw_playlist_window(mainwin_force_redraw); } GDK_THREADS_LEAVE();