Re: [Hildon-Extras] Proposing two new helper functions (logical font desc + color)

2010-03-29 Thread Thomas Perl
2010/3/24 Cornelius Hald h...@icandy.de: Thomas Perl wrote: Is this something that we want to have in Hildon-Extras? If so, I'm going to prepare a patch. The best place for this code is in he-helper.{c,h}, right? The logical color and font names can be found in the Fremantle Master Layout

Re: [Hildon-Extras] Proposing two new helper functions (logical font desc + color)

2010-03-24 Thread Cornelius Hald
Thomas Perl wrote: Is this something that we want to have in Hildon-Extras? If so, I'm going to prepare a patch. The best place for this code is in he-helper.{c,h}, right? The logical color and font names can be found in the Fremantle Master Layout Guide (page 9 for fonts, page 17 for colors),

[Hildon-Extras] Proposing two new helper functions (logical font desc + color)

2010-03-23 Thread Thomas Perl
Hello! I've ported my logical font style retrieval code from gPodder to C for use in MæPad, as I have not found similar functionality in the Hildon libraries: +gchar * +he_get_logical_font_desc(const gchar *name) +{ +GtkSettings *settings = gtk_settings_get_default(); +GtkStyle *style =