* src/EditPerson.py: Readonly fix.

* src/gramps.glade: Typo.


svn: r4052
This commit is contained in:
Alex Roitman 2005-02-19 03:29:56 +00:00
parent 8b0aa1f633
commit ca3766b005
3 changed files with 7 additions and 2531 deletions

View File

@ -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

View File

@ -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,6 +1420,7 @@ 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('')
if not self.db.readonly:
self.event_delete_btn.set_sensitive(1) self.event_delete_btn.set_sensitive(1)
self.event_edit_btn.set_sensitive(1) self.event_edit_btn.set_sensitive(1)
else: else:

File diff suppressed because it is too large Load Diff