[debian-edu-commits] debian-edu/ 211/437: use gtkrc from upstream ldm, which enables the clearlooks engine and a consistant color scheme.

Mike Gabriel sunweaver at debian.org
Sun Mar 2 23:49:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository debian-edu-artwork.

commit 9a15ccc1e18e28fb7ded4e15f5a1a5a8bda15945
Author: Vagrant Cascadian <vagrant at freegeek.org>
Date:   Fri Jan 2 22:41:08 2009 +0000

    use gtkrc from upstream ldm, which enables the clearlooks engine and a
    consistant color scheme.
---
 art/ldm/Makefile.am   |  2 +-
 art/ldm/greeter-gtkrc | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+), 1 deletion(-)

diff --git a/art/ldm/Makefile.am b/art/ldm/Makefile.am
index 79578bb..62e71cd 100644
--- a/art/ldm/Makefile.am
+++ b/art/ldm/Makefile.am
@@ -1,5 +1,5 @@
 ldmdir   = $(datadir)/ldm/themes/debian-edu
-ldm_DATA = logo.png
+ldm_DATA = logo.png greeter-gtkrc
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(ldmdir)
diff --git a/art/ldm/greeter-gtkrc b/art/ldm/greeter-gtkrc
new file mode 100644
index 0000000..b755172
--- /dev/null
+++ b/art/ldm/greeter-gtkrc
@@ -0,0 +1,90 @@
+# LTSP theme for LDM
+#
+# based on, though significantly gutted:
+#
+# Ubuntu Human Colorscheme
+#
+# Authors:
+# Richard Stellingwerff <remenic at gmail.com>
+# Daniel Borgmann <daniel.borgmann at gmail.com>
+# Billy Cantrell <bvcmdk at yahoo.com>
+#
+# Feel free to modify and share!
+
+style "clearlooks-default"
+{
+    font_name="Sans 10"
+	GtkButton      ::default_border    = { 0, 0, 0, 0 }
+	GtkRange       ::trough_border     = 0
+
+	GtkCheckButton ::indicator_size    = 14
+	GtkExpander    ::expander_size     = 16
+
+	GtkButton      ::child-displacement-x = 1
+	GtkButton      ::child-displacement-y = 1
+
+	bg[PRELIGHT]      = "#9baada"
+	bg[SELECTED]      = "#637a9a"
+
+	engine "clearlooks" 
+	{
+		menubarstyle      = 0       # 0 = flat, 1 = sunken, 2 = flat gradient
+		menuitemstyle     = 0       # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
+		listviewitemstyle = 0       # 0 = flat, 1 = 3d-ish (gradient)
+		progressbarstyle  = 0       # 0 = candy bar, 1 = fancy candy bar, 2 = flat
+		animation         = FALSE
+	}
+}
+
+style "clearlooks-wide" = "clearlooks-default"
+{
+	xthickness = 2
+	ythickness = 2
+}
+
+style "clearlooks-wider" = "clearlooks-default"
+{
+	xthickness = 3
+	ythickness = 3
+	font_name="Sans 9"
+}
+
+style "clearlooks-tasklist" = "clearlooks-default"
+{
+	xthickness = 5
+	ythickness = 3
+}
+
+style "clearlooks-menu" = "clearlooks-default"
+{
+	xthickness = 2
+	ythickness = 1
+}
+
+style "clearlooks-menu-item" = "clearlooks-default"
+{
+	xthickness = 2
+	ythickness = 3
+}
+
+style "clearlooks-tooltips" = "clearlooks-default"
+{
+	xthickness = 4
+	ythickness = 4
+	bg[NORMAL] = { 1.0,1.0,0.75 }
+}
+
+# widget styles
+class "GtkWidget"      style "clearlooks-default"
+class "GtkCombo"       style "clearlooks-button"
+class "GtkRange"       style "clearlooks-wide"
+class "GtkFrame"       style "clearlooks-wide"
+class "GtkMenu"        style "clearlooks-menu"
+class "GtkEntry"       style "clearlooks-wider"
+class "GtkMenuItem"    style "clearlooks-menu-item"
+
+widget_class "*MenuItem.*" style "clearlooks-menu-item"
+
+# tooltips stuff
+widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
+widget "gtk-tooltips" style "clearlooks-tooltips"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git



More information about the debian-edu-commits mailing list