Change to new style glade format

svn: r12846
This commit is contained in:
Doug Blank 2009-07-29 02:23:05 +00:00
parent 7be4c7a2bf
commit 834968897a

View File

@ -330,8 +330,8 @@ class EditFamilyLdsOrd(EditSecondary):
EditSecondary.__init__(self, state, uistate, track, attrib, callback) EditSecondary.__init__(self, state, uistate, track, attrib, callback)
def _local_init(self): def _local_init(self):
self.top = glade.XML(const.GLADE_FILE, "lds_person_edit","gramps") self.top = Glade()
self.set_window(self.top.get_object("lds_person_edit"), self.set_window(self.top.toplevel,
self.top.get_object('title'), self.top.get_object('title'),
_('LDS Ordinance Editor')) _('LDS Ordinance Editor'))
self.share_btn = self.top.get_object('share_place') self.share_btn = self.top.get_object('share_place')