diff src/audacious/main.c @ 2506:630910fd140f trunk

[svn] - changed plugin directory to ~/.local/share/audacious/Plugins (seems more logical to me) - updated migrate_config.sh to reflect the change - reindented a bit
author mf0102
date Mon, 12 Feb 2007 08:13:53 -0800
parents 5fcdef6e3754
children 3a1fc6f7c187
line wrap: on
line diff
--- a/src/audacious/main.c	Mon Feb 12 07:18:47 2007 -0800
+++ b/src/audacious/main.c	Mon Feb 12 08:13:53 2007 -0800
@@ -504,9 +504,9 @@
         g_build_filename(xdg_config_home, "audacious", NULL);
     bmp_paths[BMP_PATH_USER_SKIN_DIR] =
         g_build_filename(xdg_data_home, "audacious", "Skins", NULL);
-    // FIXME: Think of something better for Plugins, XDG is missing this
     bmp_paths[BMP_PATH_USER_PLUGIN_DIR] =
-        g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "Plugins", NULL);
+        g_build_filename(xdg_data_home, "audacious", "Plugins", NULL);
+
     bmp_paths[BMP_PATH_SKIN_THUMB_DIR] =
         g_build_filename(xdg_cache_home, "audacious", "thumbs", NULL);
 
@@ -527,7 +527,7 @@
         g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "log", NULL);
 
     bmp_paths[BMP_PATH_GTKRC_FILE] =
-	g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "gtkrc", NULL);
+		g_build_filename(bmp_paths[BMP_PATH_USER_DIR], "gtkrc", NULL);
 
     g_free(xdg_config_home);
     g_free(xdg_data_home);
@@ -977,9 +977,9 @@
 static gboolean
 aud_headless_iteration(gpointer unused)
 {
-	audcore_generic_events();
-	free_vis_data();
-	return TRUE;
+    audcore_generic_events();
+    free_vis_data();
+    return TRUE;
 }
 
 gint
@@ -1189,16 +1189,16 @@
     // if we are running headless
     else
     {
-	GMainLoop *loop;
+        GMainLoop *loop;
 
         mainwin_set_info_text();
         playlist_start_get_info_thread();
 
         starting_up = FALSE;
 
-	loop = g_main_loop_new(NULL, TRUE);
-	g_timeout_add(10, aud_headless_iteration, NULL);
-	g_main_loop_run(loop);
+        loop = g_main_loop_new(NULL, TRUE);
+        g_timeout_add(10, aud_headless_iteration, NULL);
+        g_main_loop_run(loop);
 
         return EXIT_SUCCESS;
     }