# HG changeset patch # User Etan Reisner # Date 1132783219 0 # Node ID 17be9401e16745ea27eff3535e6ca412479cff7d # Parent 6f0254e3c4a01945a527130f819251a915e4525b [gaim-migrate @ 14504] This way the file that the gaimrc plugin writes will actually get used by gaim for settings. And with this commit I'm off for Thanksgiving. Later all. committer: Tailor Script diff -r 6f0254e3c4a0 -r 17be9401e167 plugins/gaimrc.c --- a/plugins/gaimrc.c Wed Nov 23 21:47:11 2005 +0000 +++ b/plugins/gaimrc.c Wed Nov 23 22:00:19 2005 +0000 @@ -201,7 +201,7 @@ } } - gaim_util_write_data_to_file(".gtkrc-2.0", style_string->str, -1); + gaim_util_write_data_to_file("gtkrc-2.0", style_string->str, -1); g_string_free(style_string, TRUE); } diff -r 6f0254e3c4a0 -r 17be9401e167 src/gtkmain.c --- a/src/gtkmain.c Wed Nov 23 21:47:11 2005 +0000 +++ b/src/gtkmain.c Wed Nov 23 22:00:19 2005 +0000 @@ -526,6 +526,10 @@ } #endif + search_path = g_build_filename(gaim_user_dir(), "gtkrc-2.0", NULL); + gtk_rc_add_default_file(search_path); + g_free(search_path); + gui_check = gtk_init_check(&argc, &argv); if (!gui_check) { char *display = gdk_get_display();