[Blends-commit] [SCM] ezgo branch, master, updated. 36a7b9f34d40b881f7b5b8cce26c331e832b9c37

Franklin Weng franklin at goodhorse.idv.tw
Thu Apr 10 09:15:47 UTC 2014


The following commit has been merged in the master branch:
commit 3798dd56386e20ee41f12c24c65ca31a248a12e7
Author: Franklin Weng <franklin at goodhorse.idv.tw>
Date:   Wed Apr 9 10:48:31 2014 +0800

    Add ldm theme support in ezgo-artwork.

diff --git a/debian/ezgo-artwork.install b/debian/ezgo-artwork.install
index 36630ae..edee8df 100644
--- a/debian/ezgo-artwork.install
+++ b/debian/ezgo-artwork.install
@@ -17,3 +17,4 @@ ezgo-artwork/kde/layout.js usr/share/ezgo/kde-profile/share/apps/plasma/layout-t
 ezgo-artwork/kde/update-artwork usr/share/ezgo/ezgo-artwork
 ezgo-artwork/grub/*.png usr/share/ezgo/grub
 ezgo-artwork/gnome/50_ezgo-gnome-settings.gschema.override usr/share/glib-2.0/schemas
+ezgo-artwork/ldm/* usr/share/ldm/themes/ezgo
diff --git a/ezgo-artwork/kde/update-artwork b/ezgo-artwork/kde/update-artwork
index b883fe6..cbb2b56 100755
--- a/ezgo-artwork/kde/update-artwork
+++ b/ezgo-artwork/kde/update-artwork
@@ -1,17 +1,16 @@
 #! /bin/sh
 set -e
 
-#  change_ldm_background() {
-#      update-alternatives --install /usr/share/ldm/themes/default \
-#          ldm-theme /usr/share/ldm/themes/debian-edu 85
-#  }
-#  
-#  restore_ldm_background() {
-#      update-alternatives --remove ldm-theme /usr/share/ldm/themes/debian-edu
-#  }
-#  
-#  
-#  ## GRUB
+change_ldm_background() {
+    update-alternatives --install /usr/share/ldm/themes/default \
+        ldm-theme /usr/share/ldm/themes/ezgo 90
+}
+
+restore_ldm_background() {
+    update-alternatives --remove ldm-theme /usr/share/ldm/themes/ezgo
+}
+ 
+## GRUB
 change_grub_background() {
     priority=60 # value higher than 50 used for debian-edu-splash-grub.png in desktop-base
     update-alternatives --install \
@@ -89,14 +88,14 @@ restore_ksplash() {
 
 case "$1" in
   configure)
-#      change_ldm_background
+    change_ldm_background
     change_grub_background
     change_desktop_background
     change_ksplash
 #      compile_gschemas
     ;;
   remove)
-#      restore_ldm_background
+    restore_ldm_background
     restore_grub_background
     restore_desktop_background
     restore_ksplash
diff --git a/ezgo-artwork/kdm-theme/ezgo/background.png b/ezgo-artwork/ldm/bg.png
similarity index 100%
copy from ezgo-artwork/kdm-theme/ezgo/background.png
copy to ezgo-artwork/ldm/bg.png
diff --git a/ezgo-artwork/ldm/greeter-gtkrc b/ezgo-artwork/ldm/greeter-gtkrc
new file mode 100644
index 0000000..4a1382f
--- /dev/null
+++ b/ezgo-artwork/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"
diff --git a/ezgo-artwork/ldm/logo.png b/ezgo-artwork/ldm/logo.png
new file mode 100644
index 0000000..eae7c23
Binary files /dev/null and b/ezgo-artwork/ldm/logo.png differ

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list