I hadn't realized that that first part was already present as a feature in Handbrake.
For the second thing, I am talking about the "system tray icon", as it is called in the Preferences window under the General tab. The way that is currently feeds the status' information is when there is a mouse movement. This is unlike the functionality of others e.g. Transmission. Transmission seems to use a time interval of a few seconds to refresh its status information (i.e. upload and download times). Transmission seems to use https://trac.transmissionbt.com/browser ... /tr-icon.c
to control its S.T.I. (system's tray's icon). I cannot find anything about controlling the refresh based on time. I seem to find a few references to it being controlled by gpointer, but if one holds the mouse over the S.T.I. for Transmission then the text will periodically change; whereas, in Handbrake, the text will remain until the mouse has changed positions over the S.T.I.
For another example of this, Rhythmbox displays the time elapsed in a song. Without movement of the mouse when over the S.T.I., the time still changes in the pop-up area. I have not browsed the code of Rhythmbox, and do not know if it is simply updating every second incrementing a time change, or if it is just displaying some variable $time or such and the pop-up automatically updates.
I am running 64-bit Fedora 14 Gnome with the latest semi-nightly x86_64 build of Handbrake (there haven't been any changes to the code since it was built).