On Wed, 2009-10-14 at 15:07 +0000, Michael wrote: > I took a quick look at the canonical patch adding libindicate support to > empathy, but I couldn't see any way to tell whether the indicator applet > was actually running - if someone can tell me how to tell that, I could > do a quick untested patch, as the place in the code to change is pretty > clear.
The way to determine if the messaging menu is running is to use the interests interface. It basically conveys if someone is interested in the application that is running. The interest that should be used here is: INDICATE_INTEREST_SERVER_SIGNAL. Meaning that a watcher is willing to signal that the application can show/hide. http://bazaar.launchpad.net/~indicator-applet- developers/libindicate/trunk-0-2/annotate/head:/libindicate/interests.h The signals are INTEREST_ADDED and INTEREST_REMOVED from here: http://bazaar.launchpad.net/~indicator-applet- developers/libindicate/trunk-0-2/annotate/head:/libindicate/server.h With the function to check being indicate_server_check_interest in the same file. > Out of interest, why were these changes not submitted (or > accepted) upstream? This sort of distro-specific stuff is just asking > for problems. Awful presumptuous of you to assume that it hasn't :) https://bugzilla.gnome.org/show_bug.cgi?id=574744 -- Empathy is unusable if indicator applet is not on the panel https://bugs.launchpad.net/bugs/435329 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
