[oe-commits] Martin Jansa : shr-image: set gry theme as default

git version control git at git.openembedded.org
Sun Nov 8 16:28:28 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 0f973ce5a73b9f35055928434b4ba5967785e930
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0f973ce5a73b9f35055928434b4ba5967785e930

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sat Nov  7 22:17:24 2009 +0100

shr-image: set gry theme as default

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/images/shr-image.inc |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/recipes/images/shr-image.inc b/recipes/images/shr-image.inc
index 0e2414f..8db2fed 100644
--- a/recipes/images/shr-image.inc
+++ b/recipes/images/shr-image.inc
@@ -85,6 +85,14 @@ shr_rootfs_postprocess() {
     #echo 'widget_class "*TreeView*" style "treeview"' >> ./etc/gtk-2.0/gtkrc.default
     update-alternatives --install /etc/gtk-2.0/gtkrc gtk-theme /etc/gtk-2.0/gtkrc.default 1
 
+    # elementary theme foo
+    ELM_PROFILE_SCR=./etc/profile.d/elementary.sh
+    echo 'export ELM_ENGINE=x11-16' > ${ELM_PROFILE_SCR}
+    echo 'export ELM_THEME=gry' >> ${ELM_PROFILE_SCR}
+    echo 'export ELM_SCALE=2' >> ${ELM_PROFILE_SCR}
+    echo 'export ELM_FINGER_SIZE=70' >> ${ELM_PROFILE_SCR}
+    chmod +x ${ELM_PROFILE_SCR}
+
     echo '' >> ./etc/ld.so.conf
     # fix strange iconv/gconf bug
     ln -s libc.so.6 ./lib/libc.so





More information about the Openembedded-commits mailing list