From 5205356fef9cf35d3ed759c9f6960ebd34d772f9 Mon Sep 17 00:00:00 2001 From: jcid Date: Mon, 8 Sep 2008 17:02:16 +0200 Subject: - Fixed the "Load Images" menu item in the page popup. --- src/menu.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/menu.cc') 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); -- cgit v1.2.3