Make epydial able to handle multiple themes

Update the locations in data/
Update the theme compile script



git-svn-id: http://www.neo1973-germany.de/svn@110 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
Abraxa 2008-08-31 07:56:51 +00:00
parent aedb86b36d
commit 5064c05317
6 changed files with 18 additions and 4 deletions

View file

@ -2,8 +2,22 @@
cd data/themes cd data/themes
for theme in *
do
if [[ ! -d "$theme" ]]
then
continue
fi
echo "Compiling theme $theme"
cd $theme
data_path="../../themes_data/"$theme"/"
for filename in *.edc for filename in *.edc
do do
/opt/e17/bin/edje_cc -id ../images -fd ../fonts $filename /opt/e17/bin/edje_cc -id $data_path/images -fd $data_path/fonts $filename
done done
cd ..
done

View file

@ -12,7 +12,7 @@ FULLSCREEN = True
TITLE = "epydial" TITLE = "epydial"
WM_INFO = ("epydial", "epydial") WM_INFO = ("epydial", "epydial")
EDJE_FILE_PATH = "data/themes/" EDJE_FILE_PATH = "data/themes/default/"
MAIN_SCREEN_NAME = "pyneo/dialer/main" MAIN_SCREEN_NAME = "pyneo/dialer/main"
INCALL_SCREEN_NAME = "pyneo/dialer/incall" INCALL_SCREEN_NAME = "pyneo/dialer/incall"