Explicitly set some mozilla colors to work around problems with our theme.

This commit is contained in:
Marco Pesenti Gritti 2006-10-17 17:23:33 +02:00
parent 6ac9e4d666
commit b1db1366e0

View File

@ -49,6 +49,12 @@ sugar_browser_startup(void)
/* Disable useless security warning */
pref->SetBoolPref("security.warn_submit_insecure", FALSE);
/* Style tweaks */
pref->SetCharPref("ui.buttontext", "#000000");
pref->SetCharPref("ui.buttonface", "#D3D3DD");
pref->SetCharPref("ui.-moz-field", "#FFFFFF");
pref->SetCharPref("ui.-moz-fieldtext", "#000000");
}
G_DEFINE_TYPE(SugarBrowser, sugar_browser, GTK_TYPE_MOZ_EMBED)