Skip to content

Instantly share code, notes, and snippets.

@codebrainz
Created October 17, 2011 08:43
Show Gist options
  • Select an option

  • Save codebrainz/1292214 to your computer and use it in GitHub Desktop.

Select an option

Save codebrainz/1292214 to your computer and use it in GitHub Desktop.
Setting GtkInfoBarColors
gtk_rc_parse_string(
"style \"infobar-style\" {\n"
" color[\"info_bg_color\"] = \"" DEFAULT_BG_COLOR "\"\n"
" color[\"info_fg_color\"] = \"" DEFAULT_FG_COLOR "\"\n"
" color[\"warning_bg_color\"] = \"" DEFAULT_BG_COLOR "\"\n"
" color[\"warning_fg_color\"] = \"" DEFAULT_FG_COLOR "\"\n"
" color[\"question_bg_color\"] = \"" DEFAULT_BG_COLOR "\"\n"
" color[\"question_fg_color\"] = \"" DEFAULT_FG_COLOR "\"\n"
" color[\"error_bg_color\"] = \"" DEFAULT_BG_COLOR "\"\n"
" color[\"error_fg_color\"] = \"" DEFAULT_FG_COLOR "\"\n"
" color[\"other_bg_color\"] = \"" DEFAULT_BG_COLOR "\"\n"
" color[\"other_fg_color\"] = \"" DEFAULT_FG_COLOR "\"\n"
"}\n"
"class \"GtkInfoBar\" style \"infobar-style\"\n"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment