diff --git a/src/ag-window.c b/src/ag-window.c index 4c53499..83941b1 100644 --- a/src/ag-window.c +++ b/src/ag-window.c @@ -1890,6 +1890,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), diff --git a/src/resources/ui/chart-default.xsl b/src/resources/ui/chart-default.xsl index 99d0034..4913f5b 100644 --- a/src/resources/ui/chart-default.xsl +++ b/src/resources/ui/chart-default.xsl @@ -652,7 +652,7 @@ -