diff options
author | corvid <corvid@lavabit.com> | 2011-09-13 18:22:27 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-09-13 18:22:27 +0000 |
commit | 91ba7012bd386f756df10bbffdbb8f4d8274dea5 (patch) | |
tree | 868cead2d246c199900f096865343313f687c1cf /src/dillo.cc | |
parent | fb39514b418cb293339d9f6028a496b2c4cca8da (diff) |
UI theme preference
Diffstat (limited to 'src/dillo.cc')
-rw-r--r-- | src/dillo.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dillo.cc b/src/dillo.cc index 80053d02..b05cb16a 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -365,6 +365,8 @@ int main(int argc, char **argv) // Sets WM_CLASS hint on X11 Fl_Window::default_xclass("dillo"); + Fl::scheme(prefs.theme); + if (!prefs.show_tooltip) { // turn off UI tooltips Fl::option(Fl::OPTION_SHOW_TOOLTIPS, false); @@ -393,9 +395,6 @@ int main(int argc, char **argv) */ ((Fl_Widget *)bw->ui)->window()->make_current(); - /* Use FLTK_SCHEME environment variable, or X11 resource */ - Fl::scheme(NULL); - /* Proxy authentication */ if (prefs.http_proxyuser && !a_Http_proxy_auth()) { const char *passwd = a_UIcmd_get_passwd(prefs.http_proxyuser); |