[metacity/cowbell] themes live in a cowbell subdir



commit 805c5ebd892f5857a7751ce4377d4bfd059dbc1a
Author: Thomas Thurman <tthurman gnome org>
Date:   Wed Oct 28 22:22:46 2009 -0400

    themes live in a cowbell subdir

 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 7d264a8..effb335 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]