diff src/gtkmain.c @ 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 c4c612b8a648
children b7a51e68d0b8
line wrap: on
line diff
--- 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();