Mercurial > libervia-desktop-kivy
comparison cagou/core/cagou_main.py @ 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 | 203755bbe0fe |
comparison
equal
deleted
inserted
replaced
486:f826ebb7f605 | 487:38ca44d96752 |
---|---|
433 try: | 433 try: |
434 os.makedirs(self.downloads_dir) | 434 os.makedirs(self.downloads_dir) |
435 except OSError as e: | 435 except OSError as e: |
436 log.warnings(_("Can't create downloads dir: {reason}").format(reason=e)) | 436 log.warnings(_("Can't create downloads dir: {reason}").format(reason=e)) |
437 self.app.default_avatar = os.path.join(self.media_dir, "misc/default_avatar.png") | 437 self.app.default_avatar = os.path.join(self.media_dir, "misc/default_avatar.png") |
438 self.app.icon = os.path.join(self.media_dir, | 438 self.app.icon = os.path.join( |
439 "icons/muchoslava/png/cagou_profil_bleu_96.png") | 439 self.media_dir, "icons/muchoslava/png/cagou_profil_bleu_96.png" |
440 ) | |
441 self.app.title = C.APP_NAME | |
440 # main widgets plugins | 442 # main widgets plugins |
441 self._plg_wids = [] | 443 self._plg_wids = [] |
442 # transfer widgets plugins | 444 # transfer widgets plugins |
443 self._plg_wids_transfer = [] | 445 self._plg_wids_transfer = [] |
444 self._import_plugins() | 446 self._import_plugins() |