Bug Report and Patch: Orage tray icon doesn't update when the system resumes

Forrest Y. Yu forrest.yu at gmail.com
Tue Nov 15 03:27:32 CET 2011


Hi all, I think I have spotted a bug of Orage.
*
Summary*:
Orage tray icon doesn't update when the system resumes from sleep.

*Steps to Reproduce*:
1. Launch Orage
2. Open "Orage Preferences > Display settings", check "Show in systray"
3. Open "Orage Preferences > Extra settings", check "Use dynamic icon"
4. Suspend the machine
5. Go to sleep
6. Wake the machine up the next morning
7. Find that the Orage tray icon displays yesterday and does not update

The attachment is the patch. I used UPower to register a callback function
for the "Resuming" event so that when the system resumes this callback will
be called, in which the Orage tray icon will be updated to the current day.
I tested it for two days and it seems the problem is solved.

Cheers,
Forrest*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20111115/23d8d006/attachment.html>


More information about the Xfce4-dev mailing list