diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-17 15:23:33 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-17 15:23:33 (GMT) |
commit | b1db1366e0ea31c8de3e8ab26e79c32419b48d4d (patch) | |
tree | 81813d63599e2d90c8bfe30aa91a99f3b2a7149c /lib | |
parent | 6ac9e4d666b26873040c1da41873272fa086169f (diff) |
Explicitly set some mozilla colors to work around problems with our theme.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/src/sugar-browser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/src/sugar-browser.cpp b/lib/src/sugar-browser.cpp index 2c373b2..51b4598 100644 --- a/lib/src/sugar-browser.cpp +++ b/lib/src/sugar-browser.cpp @@ -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) |