summaryrefslogtreecommitdiffstats
path: root/setup
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-01-22 11:47:12 +0800
committerPeng Wu <alexepico@gmail.com>2014-01-22 11:47:12 +0800
commit6ab3151af30596ac1c9c7c3d9e8ca6b79922ced0 (patch)
treea9892f61edb65eacb5ecb3fc138cd128dc65145d /setup
parent925c782bbab9e46a299fc402a5a56b4a944bcf83 (diff)
downloadibus-libzhuyin-6ab3151af30596ac1c9c7c3d9e8ca6b79922ced0.tar.gz
ibus-libzhuyin-6ab3151af30596ac1c9c7c3d9e8ca6b79922ced0.tar.xz
ibus-libzhuyin-6ab3151af30596ac1c9c7c3d9e8ca6b79922ced0.zip
write __init_about
Diffstat (limited to 'setup')
-rw-r--r--setup/main.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/setup/main.py b/setup/main.py
index 3e62922..c7fd1e4 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -28,6 +28,8 @@ from gi.repository import GLib
from gi.repository import Gtk
from gi.repository import IBus
+import config
+
locale.setlocale(locale.LC_ALL, "")
localedir = os.getenv("IBUS_LOCALEDIR")
pkgdatadir = os.getenv("IBUS_PKGDATADIR")
@@ -156,7 +158,11 @@ class PreferencesWindow:
def __init_about(self):
- pass
+ # page About
+ self.__page_about.show()
+
+ self.__name_version = self.__builder.get_object("nameversion")
+ self.__name_version.set_markup(_("<big><b>New Zhuyin %s</b></big>") % config.get_version())
def __update_fuzzy_zhuyin(self):