Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1263 by [email protected]: Cannot monitor ibus startup
http://code.google.com/p/ibus/issues/detail?id=1263

I'm hacking a GNOME Shell extension of ibus forked from the gjs branch. I want to implement a feature below:
 1. If ibus is not running, hide the indicator.
2. Once ibus is launched, show the indicator and request the dbus name of ibus panel.

I was considering two approaches:
 1. Monitor the bus name of ibus by dbus signal "NameOwnerChanged"
 2. Connect to the signal "connect" of IBusBus

However, ibus doesn't owns a well-known name. The "connect" is emited only when you call ibus_bus_connect. I can't repeat calling ibus_bus_connect to test if ibus is launched.

Is there any approach to monitor ibus startup?

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复