editor fixes
svn: r6191
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
2006-03-21  Don Allingham  <don@gramps-project.org>
 | 
			
		||||
	* src/DisplayTabs.py: Send Attribute instead of None for new
 | 
			
		||||
	object
 | 
			
		||||
	* src/Editors/_EditAddress.py: specify callback
 | 
			
		||||
 | 
			
		||||
2006-03-21  Alex Roitman  <shura@gramps-project.org>
 | 
			
		||||
	* various: rename doc to data; move most of src/data to data.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -41,7 +41,6 @@ try:
 | 
			
		||||
    set()
 | 
			
		||||
except:
 | 
			
		||||
    from sets import Set as set
 | 
			
		||||
    print "set not used"
 | 
			
		||||
    
 | 
			
		||||
#-------------------------------------------------------------------------
 | 
			
		||||
#
 | 
			
		||||
@@ -891,9 +890,10 @@ class AttrEmbedList(EmbeddedList):
 | 
			
		||||
        from Editors import EditAttribute
 | 
			
		||||
        pname = ''
 | 
			
		||||
        attr_list = []
 | 
			
		||||
        attr = RelLib.Attribute()
 | 
			
		||||
        try:
 | 
			
		||||
            EditAttribute(
 | 
			
		||||
                self.dbstate, self.uistate, self.track, None,
 | 
			
		||||
                self.dbstate, self.uistate, self.track, attr,
 | 
			
		||||
                pname, attr_list, self.add_callback)
 | 
			
		||||
        except Errors.WindowActiveError:
 | 
			
		||||
            pass
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@ class EditAddress(EditSecondary):
 | 
			
		||||
        parent - The class that called the Address editor.
 | 
			
		||||
        addr - The address that is to be edited
 | 
			
		||||
        """
 | 
			
		||||
        EditSecondary.__init__(self, dbstate, uistate, track, addr)
 | 
			
		||||
        EditSecondary.__init__(self, dbstate, uistate, track, addr, callback)
 | 
			
		||||
 | 
			
		||||
    def _local_init(self):
 | 
			
		||||
        self.top = gtk.glade.XML(const.gladeFile, "addr_edit","gramps")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user