changeset 301:08e4eb900f21 trunk

[svn] Config file paths should be ~/.audacious and not ~/.xmms
author chainsaw
date Fri, 16 Dec 2005 18:40:01 -0800
parents e35b0290f77c
children baee45e12cd6
files Plugins/Effect/ladspa/ladspa.c Plugins/Input/flac/configure.c Plugins/Output/crossfade/configure.c
diffstat 3 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Effect/ladspa/ladspa.c	Fri Dec 16 18:25:18 2005 -0800
+++ b/Plugins/Effect/ladspa/ladspa.c	Fri Dec 16 18:40:01 2005 -0800
@@ -146,11 +146,7 @@
   gchar *filename;
   gint k, plugins= 0;
 
-  #ifdef BUILD_FOR_BMP
-    filename= g_strdup_printf("%s/%s", g_get_home_dir(), "/.bmp/ladsparc");
-  #else
-    filename= g_strdup_printf("%s/%s", g_get_home_dir(), "/.xmms/ladsparc");
-  #endif
+  filename= g_strdup_printf("%s/%s", g_get_home_dir(), "/.audacious/ladsparc");
   cfg = xmms_cfg_open_file(filename);
   if (cfg == NULL) {
     state.initialised = TRUE;
--- a/Plugins/Input/flac/configure.c	Fri Dec 16 18:25:18 2005 -0800
+++ b/Plugins/Input/flac/configure.c	Fri Dec 16 18:40:01 2005 -0800
@@ -135,7 +135,7 @@
 	flac_cfg.title.tag_format = g_strdup(gtk_entry_get_text(GTK_ENTRY(title_tag_entry)));
 	flac_cfg.title.user_char_set = Charset_Get_Name_From_Title(gtk_entry_get_text_1(userCharacterSetEntry));
 
-	filename = g_strconcat(g_get_home_dir(), "/.xmms/config", NULL);
+	filename = g_strconcat(g_get_home_dir(), "/.audacious/config", NULL);
 	cfg = xmms_cfg_open_file(filename);
 	if (!cfg)
 		cfg = xmms_cfg_new();
--- a/Plugins/Output/crossfade/configure.c	Fri Dec 16 18:25:18 2005 -0800
+++ b/Plugins/Output/crossfade/configure.c	Fri Dec 16 18:40:01 2005 -0800
@@ -342,7 +342,7 @@
     DEBUG(("[crossfade] load_config: error loading config, using defaults\n"));
 
 #ifdef PRESET_SUPPORT
-  filename = g_strconcat(g_get_home_dir(), "/.xmms/xmms-crossfade-presets", NULL);
+  filename = g_strconcat(g_get_home_dir(), "/.audacious/xmms-crossfade-presets", NULL);
   scan_presets(filename);
   g_free(filename);
 #endif