made "~/" be gnome_util_user_home instead.

1999-06-22    <jrb@redhat.com>

	* capplets/theme-switcher/lister.c (print_standard_stuff): made
	"~/" be gnome_util_user_home instead.
This commit is contained in:
2 1999-06-22 17:32:50 +00:00 committed by Jonathan Blandford
parent 6bcf201781
commit 904058be61
3 changed files with 19 additions and 2 deletions

View file

@ -5,11 +5,17 @@
static void
print_standard_stuff(FILE *fout, gchar *theme, gchar *font)
{
gchar *homedir;
homedir = g_strconcat ("include \"",
gnome_util_user_home(),
"/.gtkrc.mine\"\n\n", NULL);
fprintf(fout, MARK_STRING);
fprintf(fout, "include \"%s\"\n\n", theme);
if (font)
fprintf(fout, "style \"user-font\"\n{\n font=\"%s\"\n}\nwidget_class \"*\" style \"user-font\"\n\n", font);
fprintf(fout, "include \"~/.gtkrc.mine\"\n\n");
fprintf(fout, homedir);
g_free (homedir);
fprintf(fout, MARK_STRING);
}
void