diff audacious/main.c @ 893:6afdd0d7e1e1 trunk

[svn] Make refreshing optional, default to disabled if Gnome VFS available.
author nemo
date Wed, 29 Mar 2006 07:35:54 -0800
parents a8fb5974c3a9
children c800beaac0f9
line wrap: on
line diff
--- a/audacious/main.c	Tue Mar 28 20:11:34 2006 -0800
+++ b/audacious/main.c	Wed Mar 29 07:35:54 2006 -0800
@@ -141,6 +141,11 @@
     FALSE,                      /* always on top */
     FALSE,                      /* sticky */
     FALSE,                      /* no playlist advance */
+#ifdef HAVE_GNOME_VFS
+    FALSE,                      /* refresh file list - should be unneeded with VFS */
+#else
+    TRUE,                       /* refresh file list */
+#endif
     TRUE,                       /* UNUSED (smooth title scrolling) */
     TRUE,                       /* use playlist metadata */
     TRUE,                       /* warn about unplayables */
@@ -230,6 +235,7 @@
     {"get_info_on_load", &cfg.get_info_on_load, TRUE},
     {"get_info_on_demand", &cfg.get_info_on_demand, TRUE},
     {"no_playlist_advance", &cfg.no_playlist_advance, TRUE},
+    {"refresh_file_list", &cfg.refresh_file_list, TRUE},
     {"sort_jump_to_file", &cfg.sort_jump_to_file, TRUE},
     {"use_pl_metadata", &cfg.use_pl_metadata, TRUE},
     {"warn_about_unplayables", &cfg.warn_about_unplayables, TRUE},