2013-10-11 23:07:35 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires vn 0.0 -->
|
2013-10-14 12:08:06 +00:00
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2013-10-11 23:07:35 +00:00
|
|
|
<!-- interface-local-resource-path ../image -->
|
|
|
|
<object class="GtkActionGroup" id="actions">
|
|
|
|
<child>
|
|
|
|
<object class="GtkAction" id="send">
|
|
|
|
<property name="label" translatable="yes">Send</property>
|
|
|
|
<property name="short_label" translatable="yes">Send</property>
|
|
|
|
<property name="tooltip" translatable="yes">Send the current query</property>
|
|
|
|
<property name="icon_name">system-run</property>
|
|
|
|
<signal name="activate" handler="vn_consulter_send" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<accelerator key="s" modifiers="GDK_CONTROL_MASK"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkAction" id="clean">
|
|
|
|
<property name="label" translatable="yes">Clean</property>
|
|
|
|
<property name="short_label" translatable="yes">Clean</property>
|
|
|
|
<property name="tooltip" translatable="yes">Clean the messages</property>
|
|
|
|
<property name="icon_name">edit-clear</property>
|
|
|
|
<signal name="activate" handler="vn_consulter_clean_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<accelerator key="f" modifiers="GDK_CONTROL_MASK"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkAction" id="menu">
|
|
|
|
<property name="label" translatable="yes">_Consulter</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkListStore" id="model">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name col -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<object class="GtkBox" id="main">
|
|
|
|
<property name="height_request">300</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="border_width">8</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHBox" id="hbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="xalign">1</property>
|
|
|
|
<property name="label" translatable="yes">Query:</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBoxText" id="query">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="has_entry">True</property>
|
|
|
|
<property name="entry_text_column">0</property>
|
|
|
|
<property name="id_column">1</property>
|
|
|
|
<child internal-child="entry">
|
|
|
|
<object class="GtkEntry" id="combo-entry">
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="activates_default">True</property>
|
|
|
|
<property name="placeholder_text">Set on the code</property>
|
|
|
|
<signal name="activate" handler="gtk_action_activate" object="send" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="button-send">
|
|
|
|
<property name="related_action">send</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="related_action">send</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="button-clean">
|
|
|
|
<property name="related_action">clean</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="related_action">clean</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="stop">
|
|
|
|
<property name="label">gtk-stop</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="vn_consulter_on_stop_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVPaned" id="paned">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="position">120</property>
|
|
|
|
<property name="position_set">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeView" id="treeview">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="model">model</property>
|
|
|
|
<property name="rules_hint">True</property>
|
|
|
|
<property name="search_column">0</property>
|
|
|
|
<property name="fixed_height_mode">True</property>
|
|
|
|
<property name="rubber_banding">True</property>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="treeview-selection1"/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="resize">False</property>
|
|
|
|
<property name="shrink">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="VnGrid" id="consulter">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="treeform-selection"/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="resize">True</property>
|
|
|
|
<property name="shrink">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHButtonBox" id="buttonbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<property name="layout_style">start</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCheckButton" id="mode">
|
|
|
|
<property name="label" translatable="yes">Immediate changes</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw_indicator">True</property>
|
|
|
|
<signal name="toggled" handler="vn_consulter_mode_toggled" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="start">
|
|
|
|
<property name="label" translatable="yes">Start</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<signal name="clicked" handler="vn_consulter_start_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="commit">
|
|
|
|
<property name="label" translatable="yes">Commit</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<signal name="clicked" handler="vn_consulter_commit_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="rollback">
|
|
|
|
<property name="label" translatable="yes">Rollback</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
<signal name="clicked" handler="vn_consulter_rollback_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="VnHandler" id="handler">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="layout_style">start</property>
|
|
|
|
<property name="show_flags">VN_HANDLER_SHOW_REFRESH | VN_HANDLER_SHOW_UNDO | 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>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|