* src/EditPerson.py: Readonly fix.
* src/gramps.glade: Typo. svn: r4052
This commit is contained in:
parent
694c982800
commit
c3abb66292
@ -14,6 +14,9 @@
|
|||||||
* doc/xmldocs.make: Switch Makefile from CLEANFILES to DISTCLEANFILES.
|
* doc/xmldocs.make: Switch Makefile from CLEANFILES to DISTCLEANFILES.
|
||||||
* src/Makefile.am: Add const.pyc and const.pyo to CLEANFILES.
|
* src/Makefile.am: Add const.pyc and const.pyo to CLEANFILES.
|
||||||
|
|
||||||
|
* src/EditPerson.py: Readonly fix.
|
||||||
|
* src/gramps.glade: Typo.
|
||||||
|
|
||||||
2005-02-18 Eero Tamminen <eerot@sf>
|
2005-02-18 Eero Tamminen <eerot@sf>
|
||||||
* src/plugins/StatisticsChart.py: fix date object checking
|
* src/plugins/StatisticsChart.py: fix date object checking
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ class EditPerson:
|
|||||||
self.name_edit_btn = self.top.get_widget('aka_edit')
|
self.name_edit_btn = self.top.get_widget('aka_edit')
|
||||||
self.web_delete_btn = self.top.get_widget('delete_url')
|
self.web_delete_btn = self.top.get_widget('delete_url')
|
||||||
self.web_edit_btn = self.top.get_widget('edit_url')
|
self.web_edit_btn = self.top.get_widget('edit_url')
|
||||||
self.event_delete_btn = self.top.get_widget('event_delete_btn')
|
self.event_delete_btn = self.top.get_widget('event_del')
|
||||||
self.event_edit_btn = self.top.get_widget('event_edit_btn')
|
self.event_edit_btn = self.top.get_widget('event_edit_btn')
|
||||||
self.attr_delete_btn = self.top.get_widget('attr_delete_btn')
|
self.attr_delete_btn = self.top.get_widget('attr_delete_btn')
|
||||||
self.attr_edit_btn = self.top.get_widget('attr_edit_btn')
|
self.attr_edit_btn = self.top.get_widget('attr_edit_btn')
|
||||||
@ -1420,8 +1420,9 @@ class EditPerson:
|
|||||||
else:
|
else:
|
||||||
self.event_src_field.set_text('')
|
self.event_src_field.set_text('')
|
||||||
self.event_conf_field.set_text('')
|
self.event_conf_field.set_text('')
|
||||||
self.event_delete_btn.set_sensitive(1)
|
if not self.db.readonly:
|
||||||
self.event_edit_btn.set_sensitive(1)
|
self.event_delete_btn.set_sensitive(1)
|
||||||
|
self.event_edit_btn.set_sensitive(1)
|
||||||
else:
|
else:
|
||||||
self.event_date_field.set_text('')
|
self.event_date_field.set_text('')
|
||||||
self.event_place_field.set_text('')
|
self.event_place_field.set_text('')
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user