diff options
author | Thomas Thurman <tthurman@gnome.org> | 2009-10-28 22:22:46 -0400 |
---|---|---|
committer | Thomas Thurman <tthurman@gnome.org> | 2009-10-28 22:22:46 -0400 |
commit | 805c5ebd892f5857a7751ce4377d4bfd059dbc1a (patch) | |
tree | a537fc6237b9e0a59c0fef37380e830817edada4 | |
parent | 8be91053c124e99c9536fce15f94529322add1b8 (diff) | |
download | metacity-805c5ebd892f5857a7751ce4377d4bfd059dbc1a.tar.gz |
themes live in a cowbell subdir
-rw-r--r-- | src/ui/theme.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c index 7d264a88..effb3354 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -381,6 +381,7 @@ meta_theme_set_current (const char *name, g_build_filename (g_get_home_dir (), ".themes", name, + "cowbell", NULL); css_filename = g_strdup_printf ("%s.css", name); @@ -388,6 +389,7 @@ meta_theme_set_current (const char *name, css_path = g_build_filename (the_theme->directory, css_filename, NULL); + g_free (css_filename); the_theme->stylesheet = @@ -395,6 +397,11 @@ meta_theme_set_current (const char *name, css_path, NULL); + /* + * TODO: Bad things will happen if the file doesn't exist; + * we should abort here if it doesn't. + */ + #if 0 ccss_stylesheet_dump (the_theme->stylesheet); #endif |