Explicitly set some mozilla colors to work around problems with our theme.
This commit is contained in:
parent
6ac9e4d666
commit
b1db1366e0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user