* src/EventEditor.py: Fix destroy window callback

* src/dialog.glade: removed unused callbacks


svn: r2163
This commit is contained in:
Don Allingham 2003-09-23 12:14:41 +00:00
parent 915c562ecc
commit 82391ba007
2 changed files with 1 additions and 3 deletions

View File

@ -229,7 +229,7 @@ class EventEditor:
self.update_event(ename,self.date,eplace_obj,edesc,enote,epriv,ecause)
self.parent.redraw_event_list()
self.callback(self.event)
Utils.destroy_passed_object(obj)
Utils.destroy_passed_object(self.window)
def update_event(self,name,date,place,desc,note,priv,cause):
if self.event.getPlace() != place:

View File

@ -40,7 +40,6 @@
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-6</property>
<signal name="clicked" handler="destroy_passed_object" object="event_edit" last_modification_time="Tue, 18 Feb 2003 15:04:15 GMT"/>
</widget>
</child>
@ -54,7 +53,6 @@
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-5</property>
<signal name="clicked" handler="on_event_edit_ok_clicked" object="event_edit" last_modification_time="Tue, 18 Feb 2003 15:03:59 GMT"/>
</widget>
</child>
</widget>