* src/EditSource.py (button_press): Proper invokation of editors.

* src/ImageSelect.py: Remove workarounds for window management.


svn: r4422
This commit is contained in:
Alex Roitman
2005-04-25 03:02:07 +00:00
parent 398338bda8
commit 1a3160380d
3 changed files with 15 additions and 30 deletions

View File

@@ -277,12 +277,12 @@ class EditSource:
event, None, 0, None, None, self.db.readonly)
elif type == 3:
import EditPlace
family = self.db.get_place_from_handle(handle)
EditPlace.EditPlace(self.parent,family,self.db)
place = self.db.get_place_from_handle(handle)
EditPlace.EditPlace(self.parent,place)
elif type == 5:
import ImageSelect
media = self.db.get_object_from_handle(handle)
ImageSelect.GlobalMediaProperties(self.db,media,self.parent)
ImageSelect.GlobalMediaProperties(self.db,media,self)
def display_references(self):