Skip to content

Commit

Permalink
Fix about icon
Browse files Browse the repository at this point in the history
  • Loading branch information
epico committed Oct 23, 2024
1 parent c361a1e commit 0a75484
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup/main2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(_("<big><b>Intelligent Pinyin %s</b></big>") % config.get_version())

Expand Down

0 comments on commit 0a75484

Please sign in to comment.