GNOME Bugzilla – Bug 419914
[PATCH] Toggle elapsed time display style
Last modified: 2012-03-28 22:09:38 UTC
The attached patch modifies rb-header.c to make it possible to change the elapsed time display from ascending to descending. Clicking the elapsed time label will toggle the time_display gconf property so that users can easily switch between the display modes. There is a tooltip set on the label to make it a bit more discoverable. This patch is against the rhythmbox-0.9.8 tarball. I can re-diff against trunk if required. XMMS is at least one player I know of which has similar behaviour. Also I think this is a good compromise between having the feature completely hidden and adding to a property dialog.
Created attachment 84857 [details] [review] Patch to toggle elapsed time display style This only modifies widgets/rb-header.c
Seems like a useful feature. Haven't tested patch yet.
We should probably combine this with bug 457333 if we're going to do anything with it.
Er, I mean bug 457533. Anyway, this is a reasonable approach, except that it's not particularly discoverable. The only hint that you can change the time display mode is the tooltip. The event box doesn't receive keyboard focus, so you can only get to it with the mouse.
Created attachment 94354 [details] [review] use a button instead Using a button (with relief set to GTK_RELIEF_NONE) at least makes it keyboard-accessible and somewhat discoverable. It takes up slightly more (vertical) space, though, which is a bit unfortunate.
*** Bug 128108 has been marked as a duplicate of this bug. ***
In bug #128108, I mentioned that it might be better to use something like: time elapsed [======= ] -time left
The time display is now a button that toggles between elapsed and remaining time.