2013-12-16 14:55:17 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires vn 1.0 -->
|
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
|
|
<object class="VnBatch" id="iterators">
|
|
|
|
<child>
|
2013-12-20 15:21:03 +00:00
|
|
|
<object class="VnIterator" id="child">
|
|
|
|
<property name="model">model-child</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2013-12-20 15:21:03 +00:00
|
|
|
<object class="VnIterator" id="alias">
|
|
|
|
<property name="model">model-alias</property>
|
2014-02-11 15:26:11 +00:00
|
|
|
<child>
|
|
|
|
<object class="DbParam" id="alias-id">
|
|
|
|
<property name="column_name">id</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2013-12-16 14:55:17 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkBox" id="main">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="GtkAlignment" id="alignment1">
|
2013-12-16 14:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2013-12-18 10:16:51 +00:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="top_padding">6</property>
|
|
|
|
<property name="left_padding">6</property>
|
|
|
|
<property name="right_padding">6</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="GtkBox" id="box3">
|
2013-12-16 14:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2013-12-18 10:16:51 +00:00
|
|
|
<property name="spacing">4</property>
|
|
|
|
<property name="homogeneous">True</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="GtkBox" id="box1">
|
2013-12-16 14:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
2013-12-18 10:16:51 +00:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
2013-12-16 14:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2013-12-18 10:16:51 +00:00
|
|
|
<property name="shadow_type">in</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="VnGrid" id="grid1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="headers_clickable">False</property>
|
|
|
|
<property name="iterator">alias</property>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="grid-selection"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="VnColumnEntry" id="column-alias">
|
|
|
|
<property name="title" translatable="yes">Alias</property>
|
|
|
|
<property name="column_name">alias</property>
|
2013-12-20 15:21:03 +00:00
|
|
|
<property name="editable">True</property>
|
2013-12-18 10:16:51 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2013-12-16 14:55:17 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2013-12-18 10:16:51 +00:00
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="VnHandler" id="handler1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
<property name="iterator">alias</property>
|
|
|
|
<property name="show_flags">VN_HANDLER_SHOW_SAVE | VN_HANDLER_SHOW_REMOVE | VN_HANDLER_SHOW_ADD</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
2013-12-16 14:55:17 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="GtkBox" id="box2">
|
2013-12-16 14:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2013-12-18 10:16:51 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow2">
|
2013-12-16 14:55:17 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2013-12-18 10:16:51 +00:00
|
|
|
<property name="shadow_type">in</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
<child>
|
2013-12-18 10:16:51 +00:00
|
|
|
<object class="VnGrid" id="grid2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="headers_clickable">False</property>
|
|
|
|
<property name="iterator">child</property>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="grid-selection1"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="VnColumnCombo" id="column-child">
|
|
|
|
<property name="sizing">autosize</property>
|
|
|
|
<property name="title" translatable="yes">Children</property>
|
|
|
|
<property name="model">model-alias</property>
|
|
|
|
<property name="column_name">child</property>
|
|
|
|
<property name="editable">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2013-12-16 14:55:17 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2013-12-18 10:16:51 +00:00
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="VnHandler" id="handler2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
<property name="iterator">child</property>
|
|
|
|
<property name="show_flags">VN_HANDLER_SHOW_SAVE | VN_HANDLER_SHOW_REMOVE | VN_HANDLER_SHOW_ADD</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
2013-12-16 14:55:17 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="VnBatch" id="models">
|
|
|
|
<child>
|
2014-02-11 15:26:11 +00:00
|
|
|
<object class="VnModel" id="model-child">
|
2013-12-20 15:21:03 +00:00
|
|
|
<property name="sql">SELECT parent, child FROM mail_alias_child WHERE #p</property>
|
2014-02-11 15:26:11 +00:00
|
|
|
<links>
|
|
|
|
<link field="parent" param="alias-id"/>
|
|
|
|
</links>
|
2013-12-16 14:55:17 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2014-02-11 15:26:11 +00:00
|
|
|
<object class="VnModel" id="model-alias">
|
2013-12-20 15:21:03 +00:00
|
|
|
<property name="sql">SELECT id, alias FROM mail_alias</property>
|
2013-12-16 14:55:17 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|