Re: [Announce]: gkrellm 2.3.0

Bill WIlson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Fri, 20 Jul 2007 12:32:04 -0600
Justin Findlay <[email protected]> wrote:

> On AD 2007 July 20 Friday 08:16:53 PM +0200, "Andraž 'ruskie' Levstik" wrote:
> > Very nice but still doesn't provide a way to set date and time strings for
> > the Clock....
> 
> I've been working on my own on adding general strftime parameter
> support, but haven't done much with it lately.  There were some issues I
> was having at the time I wasn't sure how to resolve easily, and I'm not
> that good with C.

The clock/calendar really suffers from the fact it was originally
coded based on the old GdkFont API.  So I think in addition to
general strftime support it needs to be overhauled to use the gkrellm
markup functions to take advantage of Pango features.  Then
there could be clock/calendar format strings with strftime parameters
and Pango markup such as <small>, <large>, <bold>, and colors.

I'm not sure if it's well known, but the file system and memory panels
have been able to do this for awhile.  For example, something like this for  the
file system panel:

<span foreground="springgreen">$t</span> - <span foreground="orange">$f</span> used

So, yes, the clock/calendar needs an upgrade and I should be able
to do something about it soon.

Bill
_______________________________________________
Gkrellm mailing list
[email protected]
http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.