Little fixes.
authorHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Wed, 28 Jul 2010 18:00:16 +0000 (02:00 +0800)
committerHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Wed, 28 Jul 2010 18:00:16 +0000 (02:00 +0800)
src/lxappearance2.c

index c2042e1..a7128fe 100644 (file)
@@ -136,7 +136,7 @@ static void lxappearance_save_gtkrc()
         "GTK_ICON_SIZE_DIALOG"
     };
 
-    char* file_path = g_build_filename(g_get_home_dir(), "~/.gtkrc-2.0", NULL);
+    char* file_path = g_build_filename(g_get_home_dir(), ".gtkrc-2.0", NULL);
     char* content = g_strdup_printf(
         "# DO NOT EDIT! This file will be overwritten by LXAppearance.\n"
         "# Any customization should be done in ~/.gtkrc-2.0.mine instead.\n\n"