[Xfce4-commits] <parole:master> Fix on disk file check
Ali Abdallah
noreply at xfce.org
Wed Jan 13 19:26:01 CET 2010
Updating branch refs/heads/master
to 53c308b769c78842da62cd0b2b1243cb38f1dc09 (commit)
from 4a71b250e13dde0ce791eda45c70744a3f9f85e0 (commit)
commit 53c308b769c78842da62cd0b2b1243cb38f1dc09
Author: Ali Abdallah <aliov at xfce.org>
Date: Wed Jan 13 16:57:49 2010 +0100
Fix on disk file check
src/parole-medialist.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index 6c0707f..2426e35 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -1302,7 +1302,10 @@ gboolean parole_media_list_add_files (ParoleMediaList *list, gchar **filenames)
for ( i = 0; filenames && filenames[i] != NULL; i++)
{
- if ( g_file_test (filenames[i], G_FILE_TEST_IS_REGULAR ) )
+ /**
+ * File on disk
+ **/
+ if ( g_file_test (filenames[i], G_FILE_TEST_EXISTS ) )
{
added += parole_media_list_add_by_path (list, filenames[i], i == 0 ? TRUE : FALSE);
}
More information about the Xfce4-commits
mailing list