summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-06 19:57:59 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-06 19:57:59 +0200
commit0c30eba788c3bd5488a06befcbcda8ecb087af7c (patch)
tree3abd7937e7eca7c80caa7a1b98b07b79788f908e /main.c
parent494d90094d3bdfafb51aaf899ad43ed887e14605 (diff)
multiple selection in add folder(s) dialog
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.c b/main.c
index 4ab24309..b569bbba 100644
--- a/main.c
+++ b/main.c
@@ -412,6 +412,15 @@ player_thread (uintptr_t ctx) {
// printf ("time: %f\n", t2-t1);
}
break;
+ case M_ADDDIRS:
+ {
+ // long time processing
+// float t1 = (float)clock () / CLOCKS_PER_SEC;
+ gtkpl_add_dirs (&main_playlist, (GSList *)ctx);
+// float t2 = (float)clock () / CLOCKS_PER_SEC;
+// printf ("time: %f\n", t2-t1);
+ }
+ break;
case M_ADDFILES:
gtkpl_add_files (&main_playlist, (GSList *)ctx);
break;