changeset 12042:01ce8025a1d9

[gaim-migrate @ 14337] Don't hardcode ~/.gaim. That wouldn't be right on Windows or if you're using -c. If anyone thinks this sucks, just revert it, I'm not attached to it. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 11 Nov 2005 22:15:42 +0000
parents da44f68fb4d2
children ac18b43b0495
files plugins/gaimrc.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gaimrc.c	Fri Nov 11 05:13:02 2005 +0000
+++ b/plugins/gaimrc.c	Fri Nov 11 22:15:42 2005 +0000
@@ -400,6 +400,7 @@
 	char sample[7] = "Sample";
 	*/
 	int i;
+	char *tmp;
 
 	ret = gtk_vbox_new(FALSE, GAIM_HIG_CAT_SPACE);
 	gtk_container_set_border_width(GTK_CONTAINER(ret), GAIM_HIG_BORDER);
@@ -513,7 +514,9 @@
 	vbox = gtk_vbox_new(FALSE, GAIM_HIG_CAT_SPACE);
 	gtk_box_pack_start(GTK_BOX(frame), vbox, FALSE, FALSE, 0);
 
-	check = gtk_button_new_with_label(_("Write a gtkrc file to ~/.gaim/ with these settings"));
+	tmp = g_strdup_printf(_("Write a gtkrc file with these settings to: %s"), gaim_user_dir());
+	check = gtk_button_new_with_label(tmp);
+	g_free(tmp);
 	gtk_box_pack_start(GTK_BOX(vbox), check, FALSE, FALSE, 0);
 	gtk_size_group_add_widget(sg, check);
 	g_signal_connect(G_OBJECT(check), "clicked", G_CALLBACK(gaimrc_write),