projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e13b30
)
Show IM language & name in engine list.
author
Huang Peng
<shawn.p.huang@gmail.com>
Wed, 18 Feb 2009 09:50:16 +0000
(17:50 +0800)
committer
Huang Peng
<shawn.p.huang@gmail.com>
Wed, 18 Feb 2009 09:50:16 +0000
(17:50 +0800)
setup/enginetreeview.py
patch
|
blob
|
history
diff --git
a/setup/enginetreeview.py
b/setup/enginetreeview.py
index
70130a2
..
091020e
100644
(file)
--- a/
setup/enginetreeview.py
+++ b/
setup/enginetreeview.py
@@
-74,7
+74,8
@@
class EngineTreeView(gtk.TreeView):
def __name_cell_data_cb(self, celllayout, renderer, model, iter):
engine = self.__model.get_value(iter, 0)
renderer.set_property("sensitive", True)
- renderer.set_property("text", engine.longname)
+ language = ibus.get_language_name(engine.language)
+ renderer.set_property("text", "%s - %s" % (language, engine.longname))
def set_engines(self, engines):
self.__model.clear()