On 10 March 2010 02:16, Andrew Resch <[email protected]> wrote: > On Tue, 2010-03-09 at 22:56 +0000, Shane Fagan wrote: > > Hi all, > > Ubuntu lucid will have a new way to display things and is going to be > > used from now on. The docs are here > > https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators its > > a standard coming for Ubuntu and KDE desktops(although no news on the > > gnome upstream yet). It has a fallback to the notification area for > > those who dont support the spec. Could you guys implement this in > > Deluge? I can offer some help if needed. > > > > Regards > > Shane Fagan > > > > Hey Shane, > > Yes, this could probably be done. > > I'm looking at the Python example at the ubuntu wiki. How do you > connect an "activate" and "popup-menu" event to the Indicator object? > Does the Indicator object sub-class GtkStatusIcon? > > I don't really see any connect method defined here: > > http://bazaar.launchpad.net/~indicator-applet-developers/indicator-application/trunk/annotate/head%3A/bindings/python/appindicator.defs > > Of course there could be a different way to do things, but in the > interest of being able to reuse code, it'd be desirable if this new > object provided GtkStatusIcon's functionality. > > It looks to me like you are supposed to set a Menu to display and then the indicator will handle showing it for you, as for doing something when it is clicked, I can't see anyway to do this.
-- You received this message because you are subscribed to the Google Groups "Deluge Dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-dev?hl=en.
