changeset 487:38ca44d96752

core: title is now `C.APP_NAME`
author Goffi <goffi@goffi.org>
date Sat, 15 Oct 2022 20:16:45 +0200
parents f826ebb7f605
children beedff600d2b
files cagou/core/cagou_main.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Sat Oct 15 14:20:38 2022 +0200
+++ b/cagou/core/cagou_main.py	Sat Oct 15 20:16:45 2022 +0200
@@ -435,8 +435,10 @@
             except OSError as e:
                 log.warnings(_("Can't create downloads dir: {reason}").format(reason=e))
         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.app.icon = os.path.join(
+            self.media_dir, "icons/muchoslava/png/cagou_profil_bleu_96.png"
+        )
+        self.app.title = C.APP_NAME
         # main widgets plugins
         self._plg_wids = []
         # transfer widgets plugins