[gnome-color-manager] Use a much more UNIXy filename (and we have to due to fixing the naming bug...)



commit afbce5f3845a9067ff2940149ed892438483302d
Author: Richard Hughes <richard hughsie com>
Date:   Wed Dec 2 14:52:59 2009 +0000

    Use a much more UNIXy filename (and we have to due to fixing the naming bug...)

 src/gcm-utils.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gcm-utils.c b/src/gcm-utils.c
index 81e94d1..4172f48 100644
--- a/src/gcm-utils.c
+++ b/src/gcm-utils.c
@@ -588,10 +588,10 @@ gcm_utils_get_default_config_location (void)
 	gchar *filename;
 
 #ifdef EGG_TEST
-	filename = g_strdup ("/tmp/config.dat");
+	filename = g_strdup ("/tmp/device-profiles.conf");
 #else
 	/* create default path */
-	filename = g_build_filename (g_get_user_config_dir (), "gnome-color-manager", "config.dat", NULL);
+	filename = g_build_filename (g_get_user_config_dir (), "gnome-color-manager", "device-profiles.conf", NULL);
 #endif
 
 	return filename;
@@ -662,7 +662,7 @@ gcm_utils_test (EggTest *test)
 	/************************************************************/
 	egg_test_title (test, "get default config location (when in make check)");
 	filename = gcm_utils_get_default_config_location ();
-	if (g_strcmp0 (filename, "/tmp/config.dat") == 0)
+	if (g_strcmp0 (filename, "/tmp/device-profiles.conf") == 0)
 		egg_test_success (test, NULL);
 	else
 		egg_test_failed (test, "failed to get correct config location: %s", filename);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]