* src/WriteGedcom.py (get_option_box): Make filters inclusive.
* src/plugins/merge.glade: Switch button order to comply with HIG. * src/mergedata.glade: Switch button order to comply with HIG. * src/plugins/RelGraph.py (get_default_basename): Add function. * src/plugins/AncestorReport.py (write_report): Translate string properly. * src/EventEdit.py (update_event): Use transtable. * src/EditPerson.py (on_event_add_clicked, on_edit_birth_clicked, on_edit_death_clicked, on_event_update_clicked): Pass TransTable to the event editor. * src/Marriage.py (on_add_clicked, on_event_update_clicked): Pass TransTable to the event editor. * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py: Remove extra space between vars in "%(.*_place)s %(.*_notes)s" * src/plugins/verify.glade: Translate button label. * src/plugins/IndivSummary.py: Proper handling of translation. * src/docgen/OpenOfficeDoc.py (pt2cm): Add function; (draw_text): Convert points to cm for the box width; Use self.string_width() method. * src/BaseDoc.py (string_width): Add a method to compute width. * src/docgen/LPRDoc.py (string_width): Override method. * src/docgen/PdfDoc.py: Use self.string_width() method. * src/docgen/SvgDrawDoc.py: Use self.string_width() method. * src/plugins/AncestorChart2.py: Use self.doc.string_width() method. * src/plugins/AncestorChart.py: Use self.doc.string_width() method. * src/plugins/DesGraph.py: Use self.doc.string_width() method. * src/plugins/FanChart.py: Use self.doc.string_width() method. * src/plugins/TimeLine.py: Use self.doc.string_width() method. * src/plugins/eval.glade: HIG compliance. svn: r3453
This commit is contained in:
@ -966,7 +966,7 @@ class EditPerson:
|
||||
import EventEdit
|
||||
pname = self.person.get_primary_name().get_name()
|
||||
EventEdit.EventEditor(self,pname,const.personalEvents,
|
||||
const.save_event,None,None,0,self.event_edit_callback)
|
||||
const.personal_events,None,None,0,self.event_edit_callback)
|
||||
|
||||
def on_edit_birth_clicked(self,obj):
|
||||
"""Brings up the EventEditor for the birth record, event
|
||||
@ -983,7 +983,7 @@ class EditPerson:
|
||||
if p:
|
||||
event.set_place_handle(p)
|
||||
EventEdit.EventEditor(self,pname,const.personalEvents,
|
||||
const.save_event,event,def_placename,1,
|
||||
const.personal_events,event,def_placename,1,
|
||||
self.event_edit_callback)
|
||||
|
||||
def on_edit_death_clicked(self,obj):
|
||||
@ -1001,7 +1001,7 @@ class EditPerson:
|
||||
if p:
|
||||
event.set_place_handle(p)
|
||||
EventEdit.EventEditor(self,pname,const.personalEvents,
|
||||
const.save_event,event,def_placename,1,
|
||||
const.personal_events,event,def_placename,1,
|
||||
self.event_edit_callback)
|
||||
|
||||
def on_aka_delete_clicked(self,obj):
|
||||
@ -1248,7 +1248,7 @@ class EditPerson:
|
||||
pname = self.person.get_primary_name().get_name()
|
||||
event = self.etree.get_object(node)
|
||||
EventEdit.EventEditor(self,pname,const.personalEvents,
|
||||
const.save_event,event,None,0,
|
||||
const.personal_events,event,None,0,
|
||||
self.event_edit_callback)
|
||||
|
||||
def on_event_select_row(self,obj):
|
||||
|
Reference in New Issue
Block a user