* src/EventEditor.py: Fix destroy window callback
* src/dialog.glade: removed unused callbacks svn: r2163
This commit is contained in:
parent
915c562ecc
commit
82391ba007
@ -229,7 +229,7 @@ class EventEditor:
|
|||||||
self.update_event(ename,self.date,eplace_obj,edesc,enote,epriv,ecause)
|
self.update_event(ename,self.date,eplace_obj,edesc,enote,epriv,ecause)
|
||||||
self.parent.redraw_event_list()
|
self.parent.redraw_event_list()
|
||||||
self.callback(self.event)
|
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):
|
def update_event(self,name,date,place,desc,note,priv,cause):
|
||||||
if self.event.getPlace() != place:
|
if self.event.getPlace() != place:
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||||
<property name="response_id">-6</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>
|
</widget>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
@ -54,7 +53,6 @@
|
|||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||||
<property name="response_id">-5</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>
|
</widget>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user