summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-14 22:43:02 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-14 22:43:02 +0000
commit1d8bbfae4cde28e9102ee0ed020ac28f499c1d59 (patch)
treec371325f7c62122e9a167dbdcd640150904a9d86 /amiga/gui.c
parenta55c1f6e41bb1f42bd82c7554d38146ac5570ecd (diff)
downloadnetsurf-1d8bbfae4cde28e9102ee0ed020ac28f499c1d59.tar.gz
netsurf-1d8bbfae4cde28e9102ee0ed020ac28f499c1d59.tar.bz2
Implemented the ability to add hotlist entries to the Hotlist menu. Modified the
default Hotlist links so they show up in the menu. Currently deleting items from the menu is dangerous. To add to the Hotlist menu, add a folder node called "Menu" to the root node of the hotlist tree. Items in this folder node up to a maximum (currently) of 40 items will be added to the Hotlist menu, within the limits of the Intuition menu system. Items in folders within the Menu folder node will be converted to subitems in the menu. Folder nodes with no entries and folder nodes at level 3 in the heirarchy will become menu items with no action. Items deeper will not be included in the menu at all. eg. Root | +- Menu | +- Netsurf | | | +- NetSurf Homepage | | | +- More NetSurf links | | | +- NetSurf bugtracker | +- Google Will look something like the following within the menu: |NetSurf ยป| - |NetSurf Homepage | |Google | |More NetSurf links| svn path=/trunk/netsurf/; revision=5577
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 010835214..b4d734021 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -651,7 +651,7 @@ void ami_handle_msg(void)
item = ItemAddress(gwin->win->MenuStrip,code);
while (code != MENUNULL)
{
- ami_menupick(code,gwin);
+ ami_menupick(code,gwin,item);
if(win_destroyed) break;
code = item->NextSelect;
}