[metacity/cowbell] 'wm' and 'cowbell1' attributes



commit 0b25b5e4da34872316ef0e06da455264d4b801ec
Author: Thomas Thurman <tthurman gnome org>
Date:   Wed Oct 28 00:00:53 2009 -0400

    'wm' and 'cowbell1' attributes

 src/ui/theme.c |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 8d4bbee..4ee04c3 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -288,10 +288,21 @@ cowbell_get_attribute (ccss_node_t const *self,
                 }
             }
         }
+    }
 
-      /* giving up here */
-      return NULL;
+  /* try some odd rare ones */
+
+  if (strcmp(name, "cowbell1")==0)
+    {
+      return g_strdup ("1");
     }
+  else if (strcmp(name, "wm")==0)
+    {
+      return g_strdup ("metacity");
+    }
+
+  /* giving up here */
+  return NULL;
 }
 
 static ccss_node_class_t cowbell_node_class = {



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