aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-08 00:10:53 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-08 00:10:53 +0000
commit865f8192df40e96cbb2802136dfad4ec3c2b14d0 (patch)
tree1843e9d61407b9b2a31f10ab3b7ddd5711565c9b
parentfee28540f2deb96d0c495365aab52063b14656e8 (diff)
flushed out sketch of plugin to make the menus match Ubuntu New Wave theme
svn path=/trunk/scripts/guiplugins/simple_examples/; revision=14574
-rw-r--r--ubuntu_newwave_style-plugin.tcl10
1 files changed, 10 insertions, 0 deletions
diff --git a/ubuntu_newwave_style-plugin.tcl b/ubuntu_newwave_style-plugin.tcl
new file mode 100644
index 0000000..bf9f492
--- /dev/null
+++ b/ubuntu_newwave_style-plugin.tcl
@@ -0,0 +1,10 @@
+#
+# this plugin aims to make Pd's menubar and menus look like the Ubuntu New
+# Wave theme.
+
+.menubar configure -borderwidth 0 -foreground white -background grey35 -font {Ubuntu 10}
+
+foreach menuname {file edit put find media window help} {
+ .menubar.$menuname configure -relief sunken -font {Ubuntu 10} -borderwidth 1 \
+ -background "#f2f2f2" -activebackground "#F9B78D"
+}