* src/FilterEditor/_FilterEditor.py (clone_filter): Add method;

Support clone-and-edit functionality.
	* src/glade/rule.glade (filter_list): Add clone button.


svn: r7250
This commit is contained in:
Alex Roitman
2006-08-23 20:17:02 +00:00
parent 9211593549
commit dcd6d6d7c6
3 changed files with 49 additions and 0 deletions

View File

@@ -706,6 +706,36 @@ Exactly one rule must apply</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="clone">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="tooltip" translatable="yes">Clone the selected filter</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_clone_clicked" last_modification_time="Wed, 23 Aug 2006 20:05:14 GMT"/>
<child>
<widget class="GtkImage" id="image9">
<property name="visible">True</property>
<property name="stock">gtk-copy</property>
<property name="icon_size">4</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkButton" id="test">
<property name="visible">True</property>