rhythmbox r6046 - in trunk: . plugins/generic-player



Author: hadess
Date: Thu Nov 13 17:24:26 2008
New Revision: 6046
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6046&view=rev

Log:
2008-11-13  Bastien Nocera  <hadess hadess net>

	* plugins/generic-player/rb-psp-source.c
	(rb_psp_source_create_playlists): Fix thinko making
	file playlists when it should be directories that are
	playlists



Modified:
   trunk/ChangeLog
   trunk/plugins/generic-player/rb-psp-source.c

Modified: trunk/plugins/generic-player/rb-psp-source.c
==============================================================================
--- trunk/plugins/generic-player/rb-psp-source.c	(original)
+++ trunk/plugins/generic-player/rb-psp-source.c	Thu Nov 13 17:24:26 2008
@@ -257,7 +257,7 @@
 			while ((info = g_file_enumerator_next_file (e, NULL, NULL)) != NULL) {
 				GFile *file;
 				const char *name;
-				if (g_file_info_get_file_type (info) == G_FILE_TYPE_DIRECTORY) {
+				if (g_file_info_get_file_type (info) != G_FILE_TYPE_DIRECTORY) {
 					g_object_unref (info);
 					continue;
 				}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]