mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
Add context menu for plain text content.
All non-HTML contents now have context menus activated svn path=/trunk/netsurf/; revision=12922
This commit is contained in:
parent
71552e84d8
commit
602c2502e7
@ -489,6 +489,12 @@ void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y)
|
||||
menuhascontent = true;
|
||||
}
|
||||
|
||||
if(content_get_type(cc) == CONTENT_TEXTPLAIN)
|
||||
{
|
||||
ami_context_menu_add_submenu(ctxmenuobj, CMSUB_SEL, gwin->bw);
|
||||
menuhascontent = true;
|
||||
}
|
||||
|
||||
if(content_get_type(cc) == CONTENT_HTML)
|
||||
{
|
||||
curbox = html_get_box_tree(gwin->bw->current_content);
|
||||
|
Loading…
Reference in New Issue
Block a user