IBus Panel Prototype for GNOME-Shell

I integrated the alpha version of ibus panel for gnome-shell into Fedora 15 for the review purpose yesterday.
The integrated version is ibus-1.3.99.20110206-1 or later and it’s not enabled by default.

# yum install ibus
# rpm -q ibus
ibus-1.3.99.20110206-1.fc15.x86_64

# cp /usr/share/ibus/ui/gjs/ibus.js \
  /usr/share/gnome-shell/js/ui/status/ibus.js
# cp /usr/share/gnome-shell/js/ui/panel.js \
  /usr/share/gnome-shell/js/ui/panel.js.orig
# vi /usr/share/gnome-shell/js/ui/panel.js

# diff -u /usr/share/gnome-shell/js/ui/panel.js.orig \
  /usr/share/gnome-shell/js/ui/panel.js
--- /usr/share/gnome-shell/js/ui/panel.js.orig
+++ /usr/share/gnome-shell/js/ui/panel.js
@@ -33,12 +33,13 @@
 const SPINNER_UPDATE_TIMEOUT = 130;
 const SPINNER_SPEED = 0.02;
 
-const STANDARD_TRAY_ICON_ORDER = ['a11y', 'display', 'keyboard', 'volume', 'bluetooth', 'network', 'battery'];
+const STANDARD_TRAY_ICON_ORDER = ['a11y', 'display', 'keyboard', 'volume', 'bluetooth', 'network', 'battery', 'ibus'];
 const STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION = {
     'a11y': imports.ui.status.accessibility.ATIndicator,
     'volume': imports.ui.status.volume.Indicator,
     'battery': imports.ui.status.power.Indicator,
-    'keyboard': imports.ui.status.keyboard.XKBIndicator
+    'keyboard': imports.ui.status.keyboard.XKBIndicator,
+    'ibus': imports.ui.status.ibus.Indicator,
 };
 
 if (Config.HAVE_BLUETOOTH)

% gnome-shell --replace
Advertisements

About fujiwara

I'm an open-sourced desktop i18n developer.
This entry was posted in IBus and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s