egg.trayicon is deprecated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTimeLog |
Fix Released
|
Medium
|
Marius Gedminas | ||
gtimelog (Debian) |
Fix Released
|
Unknown
|
Bug Description
Simon McVittie writes:
> gtimelog uses egg.trayicon, from gnome-python-
> 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-
>
> 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.
Related branches
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 |
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 |
See also: http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 560981
(Launchpad won't let me add a second upstream bug tracker for Debian.)