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:
07f48dd
)
ibus-ui-gtk3: Use longname in IME switch UI.
author
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 24 Jan 2012 17:15:40 +0000
(12:15 -0500)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 21 Feb 2012 16:52:27 +0000
(11:52 -0500)
ui/gtk3/panel.vala
patch
|
blob
|
history
diff --git
a/ui/gtk3/panel.vala
b/ui/gtk3/panel.vala
index
8eeda0f
..
61d24bb
100644
(file)
--- a/
ui/gtk3/panel.vala
+++ b/
ui/gtk3/panel.vala
@@
-321,10
+321,8
@@
class Panel : IBus.PanelService {
// Append IMEs
foreach (var engine in m_engines) {
- // var lang = engine.get_language();
- // var name = engine.get_name();
- var desc = engine.get_description();
- var item = new Gtk.ImageMenuItem.with_label(desc);
+ var longname = engine.get_longname();
+ var item = new Gtk.ImageMenuItem.with_label(longname);
if (engine.get_icon() != "") {
var icon = new IconWidget(engine.get_icon(), width);
item.set_image(icon);