From 6070dc9cc0003f79ba8b4011763dd530c79c2701 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 20 Aug 2014 21:39:33 +0200 Subject: [PATCH] Add an empty toolbar to the chart tab --- src/ag-window.c | 6 +++++- src/resources/ui/ag-window.ui | 12 +++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/ag-window.c b/src/ag-window.c index e722129..e9ebc0e 100644 --- a/src/ag-window.c +++ b/src/ag-window.c @@ -1689,7 +1689,11 @@ ag_window_new(AgApp *app, WebKitUserContentManager *manager) priv->chart_web_view = webkit_web_view_new_with_user_content_manager( manager ); - gtk_container_add(GTK_CONTAINER(priv->tab_chart), priv->chart_web_view); + gtk_box_pack_end( + GTK_BOX(priv->tab_chart), + priv->chart_web_view, + TRUE, TRUE, 0 + ); // TODO: translate this error message! webkit_web_view_load_html( diff --git a/src/resources/ui/ag-window.ui b/src/resources/ui/ag-window.ui index ee4e41f..7a43f58 100644 --- a/src/resources/ui/ag-window.ui +++ b/src/resources/ui/ag-window.ui @@ -757,9 +757,19 @@ - + True False + vertical + + + True + False + + + start + + chart