summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2009-10-28 00:00:53 -0400
committerThomas Thurman <tthurman@gnome.org>2009-10-28 00:00:53 -0400
commit0b25b5e4da34872316ef0e06da455264d4b801ec (patch)
tree57e2c354860b1c1f63f103e1bb3c7992d89fd520
parent41783ad609dd437699a9dd7dd53ff87bf940e228 (diff)
downloadmetacity-0b25b5e4da34872316ef0e06da455264d4b801ec.tar.gz
'wm' and 'cowbell1' attributes
-rw-r--r--src/ui/theme.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 8d4bbeed..4ee04c3a 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 = {