svnno****@sourc*****
svnno****@sourc*****
Tue Mar 27 11:46:06 JST 2007
Revision: 3041 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3041 Author: kous Date: 2007-03-27 11:46:06 +0900 (Tue, 27 Mar 2007) Log Message: ----------- * src/kz-app.c (kz_app_init_path): fixed a user_dir bug. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/kz-app.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-03-27 02:41:35 UTC (rev 3040) +++ kazehakase/trunk/ChangeLog 2007-03-27 02:46:06 UTC (rev 3041) @@ -1,5 +1,7 @@ 2007-03-27 Kouhei Sutou <kou****@cozmi*****> + * src/kz-app.c (kz_app_init_path): fixed a user_dir bug. + * ext/ruby/kz-rb-ext.[ch], ext/ruby/Makefile.am: used KZ_GET_XXX macros instead of KZ_XXX macros. Modified: kazehakase/trunk/src/kz-app.c =================================================================== --- kazehakase/trunk/src/kz-app.c 2007-03-27 02:41:35 UTC (rev 3040) +++ kazehakase/trunk/src/kz-app.c 2007-03-27 02:46:06 UTC (rev 3041) @@ -243,7 +243,9 @@ { KzAppPrivate *priv = KZ_APP_GET_PRIVATE(app); - priv->user_dir = g_strdup(g_get_home_dir()); + priv->user_dir = g_build_filename(g_get_home_dir(), + "."PACKAGE, + NULL); priv->history_dir = g_build_filename(priv->user_dir, HISTORY_DIR, NULL); priv->history_time_stamp = g_build_filename(priv->history_dir,