module rename

svn: r6064
This commit is contained in:
Don Allingham 2006-03-04 04:30:05 +00:00
parent b6f95b2edf
commit 15f76eff61
2 changed files with 7 additions and 7 deletions

View File

@ -68,10 +68,10 @@ for event_type in Utils.family_events.keys():
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# EventEditor class # EditEvent class
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
class EventEditor(EditPrimary.EditPrimary): class EditEvent(EditPrimary.EditPrimary):
def __init__(self,event,dbstate,uistate,track=[],callback=None): def __init__(self,event,dbstate,uistate,track=[],callback=None):

View File

@ -34,7 +34,7 @@ import gtk.gdk
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import RelLib import RelLib
import PageView import PageView
import EventEdit import EditEvent
import DisplayModels import DisplayModels
import const import const
import Utils import Utils
@ -115,13 +115,13 @@ class EventView(PageView.ListView):
handle = self.first_selected() handle = self.first_selected()
the_event = self.dbstate.db.get_event_from_handle(handle) the_event = self.dbstate.db.get_event_from_handle(handle)
try: try:
EventEdit.EventEditor(the_event,self.dbstate, self.uistate, []) EditEvent.EditEvent(the_event,self.dbstate, self.uistate, [])
except Errors.WindowActiveError: except Errors.WindowActiveError:
pass pass
def add(self,obj): def add(self,obj):
try: try:
EventEdit.EventEditor(RelLib.Event(),self.dbstate, self.uistate, []) EditEvent.EditEvent(RelLib.Event(),self.dbstate, self.uistate, [])
except Errors.WindowActiveError: except Errors.WindowActiveError:
pass pass
@ -137,7 +137,7 @@ class EventView(PageView.ListView):
event = db.get_event_from_handle(event_handle) event = db.get_event_from_handle(event_handle)
ans = EventEdit.DelEventQuery(event,db, ans = EditEvent.DelEventQuery(event,db,
person_list,family_list) person_list,family_list)
if len(person_list) + len(family_list) > 0: if len(person_list) + len(family_list) > 0:
@ -162,7 +162,7 @@ class EventView(PageView.ListView):
for handle in mlist: for handle in mlist:
event = self.dbstate.db.get_event_from_handle(handle) event = self.dbstate.db.get_event_from_handle(handle)
try: try:
EventEdit.EventEditor(event, self.dbstate, self.uistate) EditEvent.EditEvent(event, self.dbstate, self.uistate)
except Errors.WindowActiveError: except Errors.WindowActiveError:
pass pass