diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-12-16 12:33:05 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-12-16 12:33:05 +0000 |
commit | 328ce66d7eea5ece30bbf6a5084dfb6237e6be8f (patch) | |
tree | caac061b86cda0db2e579b26b5209471c25bcff4 /amiga | |
parent | cbdac85a41562f18a62e7fda445b5db0582a7b4e (diff) | |
download | netsurf-328ce66d7eea5ece30bbf6a5084dfb6237e6be8f.tar.gz netsurf-328ce66d7eea5ece30bbf6a5084dfb6237e6be8f.tar.bz2 |
More prep for treeview context menus
svn path=/trunk/netsurf/; revision=13283
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/context_menu.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 36f52dc91..939ec42db 100755 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -97,6 +97,18 @@ enum { CMID_PAGEHOTLIST, CMID_PAGECLOSE, + CMID_TREE_EXPAND, + CMID_TREE_COLLAPSE, + CMID_TREE_LAUNCH, + CMID_TREE_NEWFOLDER, + CMID_TREE_NEWITEM, + CMID_TREE_SETDEFAULT, + CMID_TREE_CLEARDEFAULT, + CMID_TREE_DELETE, + CMID_TREE_EDITLINK, + CMID_TREE_EDITFOLDER, + CMID_TREE_ADDHOTLIST, + CMSUB_OBJECT, CMSUB_URL, CMSUB_SEL, @@ -175,6 +187,20 @@ void ami_context_menu_init(void) /* Back button */ ctxmenulab[CMID_HISTORY] = ami_utf8_easy((char *)messages_get("HistLocalNS")); + + /* treeviews */ + ctxmenulab[CMID_TREE_EXPAND] = ami_utf8_easy((char *)messages_get("Expand")); + ctxmenulab[CMID_TREE_COLLAPSE] = ami_utf8_easy((char *)messages_get("Collapse")); + ctxmenulab[CMID_TREE_LAUNCH] = ami_utf8_easy((char *)messages_get("TreeLaunch")); + ctxmenulab[CMID_TREE_NEWFOLDER] = ami_utf8_easy((char *)messages_get("TreeNewFolder")); + ctxmenulab[CMID_TREE_NEWITEM] = ami_utf8_easy((char *)messages_get("New")); + ctxmenulab[CMID_TREE_SETDEFAULT] = ami_utf8_easy((char *)messages_get("TreeDefault")); + ctxmenulab[CMID_TREE_CLEARDEFAULT] = ami_utf8_easy((char *)messages_get("TreeClear")); + ctxmenulab[CMID_TREE_DELETE] = ami_utf8_easy((char *)messages_get("TreeDelete")); + ctxmenulab[CMID_TREE_EDITLINK] = ami_utf8_easy((char *)messages_get("EditLink")); + ctxmenulab[CMID_TREE_EDITFOLDER] = ami_utf8_easy((char *)messages_get("EditFolder")); + ctxmenulab[CMID_TREE_ADDHOTLIST] = ami_utf8_easy((char *)messages_get("HotlistAdd")); + } void ami_context_menu_add_submenu(Object *ctxmenuobj, ULONG cmsub, void *userdata) |