From 285f52cea4374cded59a10ba1871d22ba66ebe65 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Sun, 19 Jan 2003 07:17:03 +0000 Subject: [PATCH] add more debugging output. Sun Jan 19 02:14:35 2003 Jonathan Blandford * gnome-theme-test.c (main): add more debugging output. --- capplets/common/ChangeLog | 4 ++++ capplets/common/gnome-theme-test.c | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/capplets/common/ChangeLog b/capplets/common/ChangeLog index a75640f20..5a09c6f7d 100644 --- a/capplets/common/ChangeLog +++ b/capplets/common/ChangeLog @@ -1,3 +1,7 @@ +Sun Jan 19 02:14:35 2003 Jonathan Blandford + + * gnome-theme-test.c (main): add more debugging output. + Thu Jan 16 15:51:33 2003 Jonathan Blandford * gnome-theme-test.c: new little test program for helping people diff --git a/capplets/common/gnome-theme-test.c b/capplets/common/gnome-theme-test.c index c6a0f7fdc..ff226c559 100644 --- a/capplets/common/gnome-theme-test.c +++ b/capplets/common/gnome-theme-test.c @@ -74,7 +74,15 @@ main (int argc, char *argv[]) themes = gnome_theme_info_find_by_type (GNOME_THEME_GTK_2); if (themes == NULL) { - g_print ("No gtk-2 themes were found.\n"); + gchar *str; + + g_print ("No gtk-2 themes were found. The following directories were tested:\n"); + str = gtk_rc_get_theme_dir (); + g_print ("\t%s\n", str); + g_free (str); + str = g_build_filename (g_get_home_dir (), ".themes", NULL); + g_print ("\t%s\n", str); + g_free (str); } else {