Merge pull request #66 from gergelypolonkai/fix-context-menu
Disable chart context menu
This commit is contained in:
commit
e56e0350eb
@ -1775,6 +1775,13 @@ ag_window_new(AgApp *app, WebKitUserContentManager *manager)
|
|||||||
TRUE, TRUE, 0
|
TRUE, TRUE, 0
|
||||||
);
|
);
|
||||||
|
|
||||||
|
g_signal_connect(
|
||||||
|
priv->chart_web_view,
|
||||||
|
"context-menu",
|
||||||
|
G_CALLBACK(ag_window_chart_context_cb),
|
||||||
|
NULL
|
||||||
|
);
|
||||||
|
|
||||||
// TODO: translate this error message!
|
// TODO: translate this error message!
|
||||||
webkit_web_view_load_html(
|
webkit_web_view_load_html(
|
||||||
WEBKIT_WEB_VIEW(priv->chart_web_view),
|
WEBKIT_WEB_VIEW(priv->chart_web_view),
|
||||||
|
Loading…
Reference in New Issue
Block a user