egg.trayicon is deprecated

Bug #209798 reported by Marius Gedminas on 2008-03-31
Affects Status Importance Assigned to Milestone
Marius Gedminas
gtimelog (Debian)
Fix Released

Bug Description

Simon McVittie writes:

> gtimelog uses egg.trayicon, from gnome-python-extras. This module has
> been deprecated because "equivalent functionality can now be found in
> pygtk 2.10", so presumably it'll vanish from some future version of
> gnome-python-extras.
> Unfortunately, the functionality is not actually equivalent - an egg.trayicon
> can have arbitrary widgets (and gtimelog displays an icon and a label there),
> while a GtkStatusIcon can only have a pixmap (for portability to Windows).

Currently egg.trayicon is an optional dependency: GTimeLog does an import and gracefully ignores the error, if any. It could try gtk.StatusIcon as an alternative (and skip the time counter label business).

I suppose if we really want a ticking counter in the systray, we could create a pixmap and draw into it, like Maemo's statusbarclock applet does.

Changed in gtimelog:
assignee: nobody → mgedmin
importance: Undecided → Low
status: New → Confirmed
Changed in gtimelog:
status: Unknown → Confirmed
Changed in gtimelog:
status: Confirmed → Fix Released
Marius Gedminas (mgedmin) wrote :

See also:

(Launchpad won't let me add a second upstream bug tracker for Debian.)

Changed in gtimelog:
status: Confirmed → Fix Committed
importance: Low → Medium
Changed in gtimelog:
milestone: none → 0.3
Changed in gtimelog:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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