From 515d3f0dd795ea89b1f715550f2fe54760a931c2 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 12 Dec 2011 12:14:19 -0600
Subject: e16_theme_settings: Change startup overlay to be scaled. add 
 post_upgrade -> post_install clean out cache on upgrades

---
 abs/core/e16_theme_settings/PKGBUILD               |   2 +-
 abs/core/e16_theme_settings/e16.install            |   6 +++++-
 .../themes/Summer/graphics/startup-overlay.png     | Bin 202210 -> 120009 bytes
 .../e16_config_dir/themes/Summer/init.cfg          |   2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/abs/core/e16_theme_settings/PKGBUILD b/abs/core/e16_theme_settings/PKGBUILD
index 41b36a5..9091efa 100644
--- a/abs/core/e16_theme_settings/PKGBUILD
+++ b/abs/core/e16_theme_settings/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=e16_theme_settings
 pkgver=1.0
-pkgrel=4
+pkgrel=7
 pkgdesc="Default settings for e16"
 depends=(enlightenment)
 source=()
diff --git a/abs/core/e16_theme_settings/e16.install b/abs/core/e16_theme_settings/e16.install
index 61fed63..9840e93 100644
--- a/abs/core/e16_theme_settings/e16.install
+++ b/abs/core/e16_theme_settings/e16.install
@@ -26,7 +26,11 @@ pre_upgrade() {
 # arg 1:  the new package version
 # arg 2:  the old package version
 post_upgrade() {
- /bin/true
+   if [ -e /data/e16_config_dir/cached ]
+   then
+	   rm -rf /data/e16_config_dir/cached/*
+   fi
+   post_install
 }
 
 # arg 1:  the old package version
diff --git a/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/graphics/startup-overlay.png b/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/graphics/startup-overlay.png
index 0037387..480edf0 100644
Binary files a/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/graphics/startup-overlay.png and b/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/graphics/startup-overlay.png differ
diff --git a/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/init.cfg b/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/init.cfg
index 4134287..037d1c8 100644
--- a/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/init.cfg
+++ b/abs/core/e16_theme_settings/e16_config_dir/themes/Summer/init.cfg
@@ -7,7 +7,7 @@ __E_CFG_VERSION 1
 BEGIN_BACKGROUND(STARTUP_BACKGROUND)
   SET_SOLID("0 114 188")
   //ADD_BACKGROUND_TILED_SCALED_VERTICALLY("artwork/backgrounds/back-startup.png")
-  ADD_OVERLAY_IMAGE_CENTERED("graphics/startup-overlay.png")
+  ADD_OVERLAY_IMAGE_ASPECT("graphics/startup-overlay.png")
 END_BACKGROUND
 
 __ICLASS __BGN
-- 
cgit v0.12

