diff options
author | jcid <devnull@localhost> | 2008-09-08 17:02:16 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-09-08 17:02:16 +0200 |
commit | 5205356fef9cf35d3ed759c9f6960ebd34d772f9 (patch) | |
tree | 74f7f63c95fc682bb8b787a9d047d7b20b2d9f6b /src/menu.cc | |
parent | 9d0c154884a9b10c2e45f269be0bb686da1c98c9 (diff) |
- Fixed the "Load Images" menu item in the page popup.
Diffstat (limited to 'src/menu.cc')
-rw-r--r-- | src/menu.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/menu.cc b/src/menu.cc index 8f5f8124..111e6182 100644 --- a/src/menu.cc +++ b/src/menu.cc @@ -232,7 +232,7 @@ static void Menu_history_cb(Widget *wid, void *data) * Page popup menu (construction & popup) */ void a_Menu_page_popup(BrowserWindow *bw, const DilloUrl *url, - const char *bugs_txt, int prefs_load_images) + const char *bugs_txt, bool_t unloaded_imgs) { // One menu for every browser window static PopupMenu *pm = 0; @@ -275,10 +275,10 @@ void a_Menu_page_popup(BrowserWindow *bw, const DilloUrl *url, else view_page_bugs_item->activate(); - if (prefs_load_images == 1) - load_images_item->deactivate(); - else + if (unloaded_imgs == TRUE) load_images_item->activate(); + else + load_images_item->deactivate(); // NULL is wildcard load_images_item->user_data(NULL); |