* src/gramps.glade: remove place field

* src/ImageSelect.py: remove place handling


svn: r4461
This commit is contained in:
Don Allingham 2005-05-03 01:31:20 +00:00
parent cc59e73911
commit 11539c5054
3 changed files with 736 additions and 156 deletions

View File

@ -1,3 +1,7 @@
2005-05-02 Don Allingham <don@gramps-project.org>
* src/gramps.glade: remove place field
* src/ImageSelect.py: remove place handling
2005-05-01 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.__init__): Correct manual section.
* doc/gramps-manual/C/usage.xml: Update.

View File

@ -912,19 +912,6 @@ class GlobalMediaProperties:
self.date_entry = self.change_dialog.get_widget('date')
self.date_entry.set_editable(mode)
self.pdmap = {}
self.add_places = []
for key in self.db.get_place_handles():
p = db.get_place_from_handle(key).get_display_info()
self.pdmap[p[0]] = key
self.place = self.change_dialog.get_widget('place')
self.place.set_editable(mode)
self.place_list = self.pdmap.keys()
self.place_list.sort()
build_dropdown(self.place,self.place_list)
if self.obj:
self.date_entry.set_text(self.dd.display(self.date_object))
@ -1189,10 +1176,6 @@ class GlobalMediaProperties:
if not self.date_object.is_equal(self.obj.get_date_object()):
self.obj.set_date_object(self.date_object)
p = self.get_place(self.place)
if p:
self.obj.set_place_handle(p)
format = self.preform.get_active()
if text != note or desc != self.obj.get_description():
self.obj.set_note(text)

File diff suppressed because it is too large Load Diff