Re: update ibus to 1.5.1 / shell extension for IBus 1.4

Fuminobu TAKEYAMA <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Hi all,

(2013/02/08 22:09), Marguerite Su wrote:
 > So We'd better start to fix things in IBus 1.4 & GNOME 3.6 right there
 > right now.

Yes, right.
I continue to hack IBus 1.4 without modifying GNOME packages.


Now, I successfully put the status icon on the GNOME panel by a GNOME shell extension
similar to statusIconDispatcher.js.
https://github.com/ftake/ibus_indicator-14

To use this extension we need change window class to ibus-ui-gkt-14.
https://build.opensuse.org/package/show?package=ibus&project=home%3Aftake%3Abranches%3AM17N

known problem:
- the size of the icon is too big
- "tray-icon-removed" is not implemented
   * there is no API to remove status icons in ui.Panel

BTW, how can we enable shell extensions automatically?
Just putting files in /usr/share/gnome-shells/extensions/ is OK?

I'll make a package including this shell extension.


(2013/02/08 11:47), Takao Fujiwara wrote:
 >> Here is a part of notificationDaemon.js in 3.6.
 >> >If wmClass is not in STANDARD_..., then do nothing?
 > Right. Only if the WM_CLASS is registered in gnome-shell, the gtk
 > status icon could be shown. And ibus's WM_CLASS is 'ibus-ui-gtk'.
 > https://github.com/ibus/ibus/commit/5ef29602141945ed1255662576c2e8194af78325
 >

I was wrong. The code prevent to show the icon on the bottom of "Activity"
if wm class is registered.

Your comments help me to understand how icons are managed by GNOME.
Thank you.

Fuminobu TAKEYAMA
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.