Applications should be able to determine if there's a listener out there

Bug #352616 reported by Ted Gould
4
Affects Status Importance Assigned to Milestone
Indicator Applet
Fix Released
Medium
Ted Gould

Bug Description

Applications would like to know if there is anyone using the indicator bus. To do this there should be an API that should return a boolean relatively quickly on whether there is a listener available. This won't include information about what that listener is doing with that data, or how it is displaying it, but more than one exists. This allows for better choices about the environment that the application is working in.

Ted Gould (ted)
Changed in indicator-applet:
assignee: nobody → ted-gould
importance: Undecided → Medium
milestone: none → 0.2
status: New → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

getting a boolean would be nice; however getting listener infrastructure to dynamically adapt when indicator becomes available/unavailable would even be better.

Changed in indicator-applet:
assignee: ted-gould → nobody
status: Confirmed → New
Ted Gould (ted)
Changed in indicator-applet:
assignee: nobody → ted-gould
status: New → Confirmed
Revision history for this message
Eitan Isaacson (eeejay) wrote :

Has this landed in trunk? Is there a branch? I want to see how well this change will play with the current Python bindings.

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 352616] Re: Applications should be able to determine if there's a listener out there

On Tue, 2009-04-07 at 06:48 +0000, Eitan Isaacson wrote:
> Has this landed in trunk? Is there a branch? I want to see how well this
> change will play with the current Python bindings.

Yes, it is in trunk and seeming very stable now. Get requests in
quickly!

Ted Gould (ted)
Changed in indicator-applet:
milestone: 0.2 → 0.1.5
status: Confirmed → Fix Committed
Ted Gould (ted)
Changed in indicator-applet:
status: Fix Committed → Fix Released
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 352616] Re: Applications should be able to determine if there's a listener out there

On Wed, Apr 08, 2009 at 03:52:43AM -0000, Ted Gould wrote:
> ** Changed in: indicator-applet
> Status: Fix Committed => Fix Released
>

Thanks. Are there code examples how to do that now somewhere?

 - Alexander

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 352616] Re: Applications should be able to determine if there's a listener out there

On Sat, 2009-04-11 at 10:47 +0000, Alexander Sack wrote:
> Thanks. Are there code examples how to do that now somewhere?

Not code specifically demoing this feature, but the previous examples
have been upgraded to use this functionality. I'd say the most
interesting is im-client.c. Also you can look at pidgin-libnotify to
see how it's being used there.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.