changeset 2546:9fe930a34683 trunk

[svn] - run gtk events while iterating through the playlist
author nenolod
date Sun, 18 Feb 2007 07:24:13 -0800
parents 610d85b8a22b
children 8ac0dcad22e3
files ChangeLog src/audacious/build_stamp.c src/audacious/ui_jumptotrack.c
diffstat 3 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Feb 17 19:59:01 2007 -0800
+++ b/ChangeLog	Sun Feb 18 07:24:13 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-18 03:59:01 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4100]
+  - on loading a playlist with tuple, invoke the scanner thread only if mtime is -1.
+  
+  trunk/src/audacious/playlist.c |   23 ++++++++++++-----------
+  1 file changed, 12 insertions(+), 11 deletions(-)
+
+
 2007-02-18 00:59:39 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4098]
   - update chinese simplified translation -- 
--- a/src/audacious/build_stamp.c	Sat Feb 17 19:59:01 2007 -0800
+++ b/src/audacious/build_stamp.c	Sun Feb 18 07:24:13 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070218-4098";
+const gchar *svn_stamp = "20070218-4100";
--- a/src/audacious/ui_jumptotrack.c	Sat Feb 17 19:59:01 2007 -0800
+++ b/src/audacious/ui_jumptotrack.c	Sun Feb 18 07:24:13 2007 -0800
@@ -341,12 +341,14 @@
     PLAYLIST_LOCK(playlist->mutex);
 
     for (playlist_glist = playlist->entries; playlist_glist;
-         playlist_glist = g_list_next(playlist_glist)) {
-
+         playlist_glist = g_list_next(playlist_glist))
+    {
         PlaylistEntry *entry = PLAYLIST_ENTRY(playlist_glist->data);
         const gchar *title;
         gchar *filename = NULL;
 
+        g_main_context_iteration(g_main_context_default(), FALSE);
+
         title = entry->title;
         if (!title) {
         filename = str_to_utf8(entry->filename);