changeset 91:520a9e1a659b

use of cagou_profile_bleu as Cagou's main icon
author Goffi <goffi@goffi.org>
date Sun, 25 Dec 2016 22:53:58 +0100
parents 9a6121722669
children 12e144a3b9e9
files src/buildozer.spec src/cagou/core/cagou_main.py
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buildozer.spec	Sun Dec 25 22:53:55 2016 +0100
+++ b/src/buildozer.spec	Sun Dec 25 22:53:58 2016 +0100
@@ -48,10 +48,10 @@
 #garden_requirements =
 
 # (str) Presplash of the application
-#presplash.filename = %(source.dir)s/data/presplash.png
+presplash.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_512.png
 
 # (str) Icon of the application
-#icon.filename = %(source.dir)s/data/icon.png
+icon.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_96.png
 
 # (str) Supported orientation (one of landscape, portrait or all)
 orientation = portrait
--- a/src/cagou/core/cagou_main.py	Sun Dec 25 22:53:55 2016 +0100
+++ b/src/cagou/core/cagou_main.py	Sun Dec 25 22:53:58 2016 +0100
@@ -293,6 +293,7 @@
         self.app.host = self
         self.media_dir = self.app.media_dir = config.getConfig(main_config, '', 'media_dir')
         self.app.default_avatar = os.path.join(self.media_dir, "misc/default_avatar.png")
+        self.app.icon = os.path.join(self.media_dir, "icons/muchoslava/png/cagou_profil_bleu_96.png")
         self._plg_wids = []  # main widgets plugins
         self._plg_wids_upload = []  # upload widgets plugins
         self._import_plugins()