resource file styles ignored in gtk 2.19.5 and 2.19.7
- From: John Stebbins <stebbins jetheaddev com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: resource file styles ignored in gtk 2.19.5 and 2.19.7
- Date: Thu, 11 Mar 2010 14:39:51 -0800
This worked previously in gtk 2.18. I'm testing my code on the alpha
releases of ubuntu 10.04 and fedora 13 which have gtk 2.19.5 and 2.19.7
respectively. Am I doing something incorrect? Has this functionality
been changed in some way?
const gchar *hud_rcstyle =
"style \"ghb-hud\" {\n"
"bg[NORMAL]=\"gray18\"\n"
"bg[ACTIVE]=\"gray32\"\n"
"bg[PRELIGHT]=\"gray46\"\n"
"bg[SELECTED]=\"black\"\n"
"base[NORMAL]=\"gray40\"\n"
"text[NORMAL]=\"white\"\n"
"text[ACTIVE]=\"white\"\n"
"fg[NORMAL]=\"white\"\n"
"fg[ACTIVE]=\"white\"\n"
"fg[PRELIGHT]=\"white\"\n"
"}\n"
"widget \"preview_window.*.preview_hud.*\" style \"ghb-hud\"\n";
...
gtk_rc_parse_string(hud_rcstyle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]