View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#7
Originally Posted by thp View Post
In order to get the correct text style for the secondary text (the font size and the color - see the browser bookmarks screenshot above), you can use functions from this module (in Python; for C, there's hildon-helper.c in the Hildon source code):

http://repo.or.cz/w/gpodder.git?a=bl...rmntl/style.py

An example of how I used this to get the correct style for a ListStore:

http://repo.or.cz/w/gpodder.git?a=bl...frmntl/opml.py
There's a step I'm missing here, maybe somebody can point me in the right direction:

How do i turn output of "<span font_desc="Nokia Sans 18" foreground="<GdkColor at 0x9xx..." into Nicely-Formatted-Text-String?