Move the chart's web view to the UI definition

Fially! Thanks goes to tristan, KaL and ebassi on #gtk for the
guidance.
This commit is contained in:
2014-10-06 14:49:11 +02:00
parent fa56eb950e
commit 1c3bbdf6cf
2 changed files with 26 additions and 30 deletions

View File

@@ -73,6 +73,8 @@
<column type="gchararray"/>
</columns>
</object>
<object class="WebkitUserContentManager" id="content_manager">
</object>
<template class="AgWindow" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
<property name="has_focus">False</property>
@@ -173,6 +175,12 @@
<property name="pack_type">start</property>
</packing>
</child>
<child>
<object class="WebkitWebView" id="chart_web_view">
<property name="user-content-manager">content_manager</property>
<signal name="context-menu" handler="ag_window_chart_context_cb"/>
</object>
</child>
</object>
<packing>
<property name="name">chart</property>