summaryrefslogtreecommitdiff
path: root/riscos/menus.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-08-09 06:28:57 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-08-09 06:28:57 +0000
commitc992f6252cea5487126721ec1ddf3d207b883524 (patch)
treef7543bbe30f4171829a8c2f775e32f007f13e251 /riscos/menus.c
parenta5bb9c38fdfe5dae353165f87c51e629a67a3d49 (diff)
downloadnetsurf-c992f6252cea5487126721ec1ddf3d207b883524.tar.gz
netsurf-c992f6252cea5487126721ec1ddf3d207b883524.tar.bz2
[project @ 2004-08-09 06:28:56 by jmb]
Printing support. Some issues remain - see the todo list at the top of print.c for more details svn path=/import/netsurf/; revision=1199
Diffstat (limited to 'riscos/menus.c')
-rw-r--r--riscos/menus.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/riscos/menus.c b/riscos/menus.c
index 8a5002b3d..4633cfeae 100644
--- a/riscos/menus.c
+++ b/riscos/menus.c
@@ -120,7 +120,7 @@ static wimp_MENU(8) page_menu = {
{ wimp_MENU_GIVE_WARNING, (wimp_menu *)1, DEFAULT_FLAGS, { "SaveComp" } },
{ 0, (wimp_menu *)&export_menu, DEFAULT_FLAGS, { "Export" } },
{ 0, (wimp_menu *)&link_menu, DEFAULT_FLAGS, { "SaveURL" } },
- { wimp_MENU_SEPARATE, wimp_NO_SUB_MENU, DEFAULT_FLAGS | wimp_ICON_SHADED, { "Print" } },
+ { wimp_MENU_GIVE_WARNING | wimp_MENU_SEPARATE, (wimp_menu *)1, DEFAULT_FLAGS, { "Print" } },
{ 0, wimp_NO_SUB_MENU, DEFAULT_FLAGS, { "NewWindow" } },
{ wimp_MENU_LAST, wimp_NO_SUB_MENU, DEFAULT_FLAGS, { "ViewSrc" } }
}
@@ -1071,6 +1071,11 @@ void ro_gui_menu_browser_warning(wimp_message_menu_warning *warning)
break;
}
break;
+
+ case 5: /* Print -> */
+ ro_gui_print_open(current_gui, warning->pos.x,
+ warning->pos.y, true, false);
+ break;
}
break;