Merge pull request #66 from gergelypolonkai/fix-context-menu

Disable chart context menu
This commit is contained in:
Gergely Polonkai 2014-08-27 23:07:35 +02:00
commit e56e0350eb
1 changed files with 7 additions and 0 deletions

View File

@ -1775,6 +1775,13 @@ ag_window_new(AgApp *app, WebKitUserContentManager *manager)
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!
webkit_web_view_load_html(
WEBKIT_WEB_VIEW(priv->chart_web_view),