changeset 888:55d8381b8fc5

Fixed tools menu to take CSS state from prefs
author corvid <corvid@lavabit.com>
date Sun, 01 Feb 2009 14:30:27 -0300
parents 2719ed27a262
children bb1589dbe792
files src/menu.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/menu.cc	Sun Feb 01 14:26:43 2009 -0300
+++ b/src/menu.cc	Sun Feb 01 14:30:27 2009 -0300
@@ -674,10 +674,10 @@
       pm->begin();
        it = new ToggleItem("Use remote CSS");
        it->callback(Menu_remote_css_cb);
-       it->state(true);
+       it->state(prefs.load_stylesheets);
        it = new ToggleItem("Use embedded CSS");
        it->callback(Menu_embedded_css_cb);
-       it->state(true);
+       it->state(prefs.parse_embedded_css);
        pm->type(PopupMenu::POPUP13);
       pm->end();
    }