Mercurial > pidgin.yaz
changeset 12202:17be9401e167
[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 <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Wed, 23 Nov 2005 22:00:19 +0000 |
parents | 6f0254e3c4a0 |
children | 0aeda1869b32 |
files | plugins/gaimrc.c src/gtkmain.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }
--- 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();