* src/DateParser.py: dynamically detect numerical parsing based
off locale. Do not depend on strptime. * src/Utils.py: remove last remains of SingleDate * src/PeopleModel.py: display "error" instead of a blank string on an error * src/EventEdit.py: removed unused parameter * src/Exporter.py: remove unused gnome.ui import * src/plugins/FanChart.py: remove old Calendar reference * src/plugins/Verify.py: remove old Calendar reference svn: r3620
This commit is contained in:
@ -272,7 +272,7 @@ class EventEditor:
|
||||
"""Display the relevant portion of GRAMPS manual"""
|
||||
gnome.help_display('gramps-manual','gramps-edit-complete')
|
||||
|
||||
def get_place(self,field,trans):
|
||||
def get_place(self,field):
|
||||
text = strip(unicode(field.get_text()))
|
||||
if text:
|
||||
if self.pmap.has_key(text):
|
||||
@ -289,7 +289,7 @@ class EventEditor:
|
||||
ename = unicode(self.event_menu.child.get_text())
|
||||
#self.date = self.dp.parse(unicode(self.date_field.get_text()))
|
||||
ecause = unicode(self.cause_field.get_text())
|
||||
eplace_obj = self.get_place(self.place_field,trans)
|
||||
eplace_obj = self.get_place(self.place_field)
|
||||
buf = self.note_field.get_buffer()
|
||||
|
||||
enote = unicode(buf.get_text(buf.get_start_iter(),buf.get_end_iter(),gtk.FALSE))
|
||||
|
Reference in New Issue
Block a user