2009-04-19 00:06:18 +05:30
|
|
|
<?xml version="1.0"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires gtk+ 2.12 -->
|
|
|
|
<!-- interface-naming-policy toplevel-contextual -->
|
|
|
|
<object class="GtkListStore" id="model1">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name gchararray -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
</columns>
|
|
|
|
<data>
|
|
|
|
<row>
|
|
|
|
<col id="0" translatable="yes">All rules must apply</col>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<col id="0" translatable="yes">At least one rule must apply</col>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<col id="0" translatable="yes">Exactly one rule must apply</col>
|
|
|
|
</row>
|
|
|
|
</data>
|
|
|
|
</object>
|
|
|
|
<object class="GtkDialog" id="define_filter">
|
|
|
|
<property name="default_width">500</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
<property name="gravity">center</property>
|
|
|
|
<property name="has_separator">False</property>
|
|
|
|
<signal name="delete_event" handler="on_edit_filter_delete_event"/>
|
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkVBox" id="dialog-vbox1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVBox" id="vbox1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="title">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="ypad">6</property>
|
|
|
|
<property name="justify">center</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTable" id="table1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="border_width">12</property>
|
|
|
|
<property name="n_rows">8</property>
|
|
|
|
<property name="n_columns">4</property>
|
|
|
|
<property name="column_spacing">12</property>
|
|
|
|
<property name="row_spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVBox" id="vbox6">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="add">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Add another rule to the filter</property>
|
|
|
|
<signal name="clicked" handler="on_add_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-add</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="edit">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Edit the selected rule</property>
|
|
|
|
<signal name="clicked" handler="on_edit_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-edit</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="delete">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Delete the selected rule</property>
|
|
|
|
<signal name="clicked" handler="on_delete_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image4">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-remove</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">3</property>
|
|
|
|
<property name="right_attach">4</property>
|
|
|
|
<property name="top_attach">4</property>
|
|
|
|
<property name="bottom_attach">5</property>
|
|
|
|
<property name="x_options">GTK_SHRINK</property>
|
|
|
|
<property name="y_options">GTK_FILL</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label16">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes"><b>Options</b></property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="right_attach">4</property>
|
|
|
|
<property name="top_attach">5</property>
|
|
|
|
<property name="bottom_attach">6</property>
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label15">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes"><b>Rule list</b></property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="right_attach">4</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
<property name="bottom_attach">4</property>
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label14">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes"><b>Definition</b></property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="right_attach">4</property>
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label10">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes">Co_mment:</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="mnemonic_widget">comment</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
<property name="top_attach">2</property>
|
|
|
|
<property name="bottom_attach">3</property>
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeView" id="rule_list">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="right_attach">3</property>
|
|
|
|
<property name="top_attach">4</property>
|
|
|
|
<property name="bottom_attach">5</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes">_Name:</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="mnemonic_widget">filter_name</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
<property name="bottom_attach">2</property>
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCheckButton" id="logical_not">
|
|
|
|
<property name="label" translatable="yes">Return values that do no_t match the filter rules</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
<property name="draw_indicator">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="right_attach">4</property>
|
|
|
|
<property name="top_attach">7</property>
|
|
|
|
<property name="bottom_attach">8</property>
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBox" id="rule_apply">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="model">model1</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="renderer1"/>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="text">0</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="right_attach">3</property>
|
|
|
|
<property name="top_attach">6</property>
|
|
|
|
<property name="bottom_attach">7</property>
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="filter_name">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<signal name="changed" handler="on_filter_name_changed"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="right_attach">3</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
<property name="bottom_attach">2</property>
|
|
|
|
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="comment">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="right_attach">3</property>
|
|
|
|
<property name="top_attach">2</property>
|
|
|
|
<property name="bottom_attach">3</property>
|
|
|
|
<property name="y_options"></property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkHButtonBox" id="dialog-action_area1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="cancel">
|
|
|
|
<property name="label">gtk-cancel</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_cancel_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="ok">
|
|
|
|
<property name="label">gtk-ok</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_ok_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="help">
|
|
|
|
<property name="label">gtk-help</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_help_filtdef_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<action-widgets>
|
|
|
|
<action-widget response="0">cancel</action-widget>
|
|
|
|
<action-widget response="0">ok</action-widget>
|
|
|
|
<action-widget response="-11">help</action-widget>
|
|
|
|
</action-widgets>
|
|
|
|
</object>
|
|
|
|
<object class="GtkDialog" id="filter_list">
|
|
|
|
<property name="default_width">400</property>
|
|
|
|
<property name="default_height">350</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
<property name="gravity">center</property>
|
|
|
|
<property name="has_separator">False</property>
|
|
|
|
<signal name="delete_event" handler="on_filter_list_delete_event"/>
|
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkVBox" id="dialog-vbox3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVBox" id="vbox3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="title">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="justify">center</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="padding">5</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHBox" id="hbox5">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow2">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeView" id="filters">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVBox" id="vbox5">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="add">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Add a new filter</property>
|
|
|
|
<signal name="clicked" handler="on_add_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image5">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-add</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="edit">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Edit the selected filter</property>
|
|
|
|
<signal name="clicked" handler="on_edit_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image6">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-edit</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="clone">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Clone the selected filter</property>
|
|
|
|
<signal name="clicked" handler="on_clone_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image9">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-copy</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="test">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Test the selected filter</property>
|
|
|
|
<signal name="clicked" handler="on_test_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image8">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-execute</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="delete">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="tooltip_text" translatable="yes">Delete the selected filter</property>
|
|
|
|
<signal name="clicked" handler="on_delete_clicked"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image7">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="stock">gtk-remove</property>
|
|
|
|
<property name="icon-size">4</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="padding">5</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label30">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xpad">6</property>
|
|
|
|
<property name="label" translatable="yes"><i>Note: changes take effect only after this window is closed</i></property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkHButtonBox" id="dialog-action_area3">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="close">
|
|
|
|
<property name="label">gtk-close</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_close_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="help">
|
|
|
|
<property name="label">gtk-help</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_help_filters_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<action-widgets>
|
|
|
|
<action-widget response="-7">close</action-widget>
|
|
|
|
<action-widget response="-11">help</action-widget>
|
|
|
|
</action-widgets>
|
|
|
|
</object>
|
|
|
|
<object class="GtkDialog" id="test">
|
|
|
|
<property name="default_width">450</property>
|
|
|
|
<property name="default_height">400</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
<property name="gravity">center</property>
|
|
|
|
<property name="has_separator">False</property>
|
|
|
|
<signal name="delete_event" handler="on_test_delete_event"/>
|
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkVBox" id="dialog-vbox4">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="title">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="ypad">6</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow5">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeView" id="list">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkHButtonBox" id="dialog-action_area4">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="close">
|
|
|
|
<property name="label">gtk-close</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_close_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<action-widgets>
|
|
|
|
<action-widget response="0">close</action-widget>
|
|
|
|
</action-widgets>
|
|
|
|
</object>
|
|
|
|
<object class="GtkDialog" id="rule_editor">
|
|
|
|
<property name="window_position">center-on-parent</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
<property name="gravity">center</property>
|
|
|
|
<property name="has_separator">False</property>
|
|
|
|
<signal name="delete_event" handler="on_rule_edit_delete_event"/>
|
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkVBox" id="dialog-vbox5">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVBox" id="vbox9">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="title">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="padding">6</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHPaned" id="hpaned1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow4">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeView" id="ruletree">
|
|
|
|
<property name="width_request">250</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="enable_search">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="resize">False</property>
|
|
|
|
<property name="shrink">False</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVBox" id="valuebox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label27">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes"><b>Selected Rule</b></property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="rulename">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="xpad">12</property>
|
|
|
|
<property name="label" translatable="yes">No rule selected</property>
|
|
|
|
<property name="wrap">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="padding">6</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label25">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes"><b>Description</b></property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="description">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="yalign">0</property>
|
|
|
|
<property name="xpad">12</property>
|
|
|
|
<property name="label" translatable="yes">No description</property>
|
|
|
|
<property name="wrap">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="padding">6</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label24">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="label" translatable="yes"><b>Values</b></property>
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="resize">True</property>
|
|
|
|
<property name="shrink">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkHButtonBox" id="dialog-action_area5">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="cancel">
|
|
|
|
<property name="label">gtk-cancel</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="rule_cancel_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="ok">
|
|
|
|
<property name="label">gtk-ok</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="rule_ok_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="help">
|
|
|
|
<property name="label">gtk-help</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_help_rule_clicked"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<action-widgets>
|
|
|
|
<action-widget response="-6">cancel</action-widget>
|
|
|
|
<action-widget response="-5">ok</action-widget>
|
|
|
|
<action-widget response="-11">help</action-widget>
|
|
|
|
</action-widgets>
|
|
|
|
</object>
|
|
|
|
</interface>
|