From 0a754842779ce40ef5018af854569df54c6ab8ad Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 23 Oct 2024 16:21:48 +0800 Subject: [PATCH] Fix about icon --- setup/main2.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/main2.py b/setup/main2.py index 6f17a976..3665a79d 100644 --- a/setup/main2.py +++ b/setup/main2.py @@ -635,6 +635,10 @@ def __init_about(self): # page About self.__page_about.show() + self.__about_icon = self.__builder.get_object("AboutIcon") + icon_path = os.path.join(pkgdatadir, 'icons', 'ibus-pinyin.svg') + self.__about_icon.set_from_file(icon_path) + self.__name_version = self.__builder.get_object("NameVersion") self.__name_version.set_markup(_("Intelligent Pinyin %s") % config.get_version())