[Xfce4-commits] [apps/parole] 01/01: Fix adding directories to the queue from cli (bug #12899)
noreply at xfce.org
noreply at xfce.org
Fri May 26 03:54:14 CEST 2017
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/parole.
commit ef3c6ebf89028f2cdea7c1ca860f1a11ed69912e
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Thu May 25 21:54:07 2017 -0400
Fix adding directories to the queue from cli (bug #12899)
---
src/parole-medialist.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index 2348d07..618a759 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -2124,6 +2124,9 @@ gboolean parole_media_list_add_files (ParoleMediaList *list, gchar **filenames,
{
added += parole_media_list_add_by_path (list, filenames[i], i == 0 ? TRUE : FALSE);
}
+ else if ( g_file_test (filenames[i], G_FILE_TEST_IS_DIR) ) {
+ added += parole_media_list_add_by_path (list, filenames[i], i == 0 ? TRUE : FALSE);
+ }
else
{
ParoleFile *file;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list