diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index b3f7ce602..05a7a131c 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,13 @@ +2004-05-12 Alex Roitman + * src/plugins/ChangeTypes.py: Remove Utils.modified() call. + * src/plugins/Check.py: Remove Utils.modified() call. + * src/plugins/PatchNames.py: Remove Utils.modified() call. + * src/plugins/ReadGedcom.py: Remove Utils.modified() call. + * src/plugins/ReorderIds.py: Remove Utils.modified() call. + * src/plugins/WriteCD.py: Remove Utils.modified() call. + * src/plugins/WritePkg.py: Remove Utils.modified() call. + * src/plugins/Merge.py: Typo. + 2004-05-11 Don Allingham * src/GrampsCfg.py: remove unused options * src/gramps.glade: remove unused panels in preferences diff --git a/gramps2/src/plugins/ChangeTypes.py b/gramps2/src/plugins/ChangeTypes.py index 9db97962e..94c611d37 100644 --- a/gramps2/src/plugins/ChangeTypes.py +++ b/gramps2/src/plugins/ChangeTypes.py @@ -87,7 +87,6 @@ class ChangeTypes: if event.get_name() == original: event.set_name(new) modified = modified + 1 - Utils.modified() self.db.commit_event(event) if modified == 1: diff --git a/gramps2/src/plugins/Check.py b/gramps2/src/plugins/Check.py index 850bb2d11..6e8ea7c4b 100644 --- a/gramps2/src/plugins/Check.py +++ b/gramps2/src/plugins/Check.py @@ -99,12 +99,10 @@ class CheckIntegrity: mother = self.db.find_person_from_id(mother_id) if father_id and family_id not in father.get_family_id_list(): - Utils.modified() self.broken_parent_links.append((father_id,family_id)) father.add_family_id(family_id) self.db.commit_person(father) if mother_id and family_id not in mother.get_family_id_list(): - Utils.modified() self.broken_parent_links.append((mother_id,family_id)) mother.add_family_id(family_id) self.db.commit_person(mother) @@ -118,7 +116,6 @@ class CheckIntegrity: else: family.remove_child_id(child_id) self.db.commit_family(family) - Utils.modified() self.broken_links.append((child_id,family_id)) def cleanup_missing_photos(self,cl=0): @@ -175,7 +172,6 @@ class CheckIntegrity: self.db.commit_place(p) self.removed_photo.append(ObjectId) self.db.remove_object(ObjectId) - Utils.modified() def leave_clicked(): self.bad_photo.append(ObjectId) @@ -235,7 +231,6 @@ class CheckIntegrity: for key in self.db.get_family_keys(): family = self.db.find_family_from_id(key) if not family.get_father_id() and not family.get_mother_id(): - Utils.modified() self.empty_family.append(family_id) self.delete_empty_family(family_id) diff --git a/gramps2/src/plugins/Merge.py b/gramps2/src/plugins/Merge.py index a9345c166..af5afbd8a 100644 --- a/gramps2/src/plugins/Merge.py +++ b/gramps2/src/plugins/Merge.py @@ -266,7 +266,7 @@ class Merge: self.window.destroy() def add_show_to_menu(self): - self.show_parent.child_windows[self.win_show_key] = self.window + self.parent.child_windows[self.win_show_key] = self.window self.show_parent_menu_item = gtk.MenuItem(_('Potential Merges')) self.show_parent_menu_item.connect("activate",self.present_show) self.show_parent_menu_item.show() diff --git a/gramps2/src/plugins/PatchNames.py b/gramps2/src/plugins/PatchNames.py index 1f26add0a..b5c053625 100644 --- a/gramps2/src/plugins/PatchNames.py +++ b/gramps2/src/plugins/PatchNames.py @@ -210,7 +210,6 @@ class PatchNames: name.set_first_name(grp[1]) p.set_nick_name(grp[2]) self.db.commit_person(p) - Utils.modified() for grp in self.title_list: iter = self.title_hash[grp[0]] @@ -221,7 +220,6 @@ class PatchNames: name.set_first_name(grp[2]) name.set_title(grp[1]) self.db.commit_person(p) - Utils.modified() self.close(obj) self.cb(1) diff --git a/gramps2/src/plugins/ReadGedcom.py b/gramps2/src/plugins/ReadGedcom.py index dd48c8813..613dc741c 100644 --- a/gramps2/src/plugins/ReadGedcom.py +++ b/gramps2/src/plugins/ReadGedcom.py @@ -175,7 +175,6 @@ def importData(database, filename, cb=None): if close: statusWindow.destroy() - Utils.modified() if cb: statusWindow.destroy() cb(1) diff --git a/gramps2/src/plugins/ReorderIds.py b/gramps2/src/plugins/ReorderIds.py index 77f6ada21..17188adc0 100644 --- a/gramps2/src/plugins/ReorderIds.py +++ b/gramps2/src/plugins/ReorderIds.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -50,7 +50,6 @@ class ReorderIds: self.reorder(db.get_object_map(),db.oprefix,None) self.reorder(db.get_source_map(),db.sprefix,db.build_source_display) self.reorder(db.get_place_id_map(),db.pprefix,db.build_place_display) - Utils.modified() Utils.history_broken() callback(1) diff --git a/gramps2/src/plugins/WriteCD.py b/gramps2/src/plugins/WriteCD.py index 553e4f22f..7fc3e425f 100644 --- a/gramps2/src/plugins/WriteCD.py +++ b/gramps2/src/plugins/WriteCD.py @@ -231,7 +231,6 @@ class PackageWriter: nl.remove(o) p.set_media_list(nl) self.db.remove_object(self.object_id) - Utils.modified() def leave_clicked(): # File is lost => do nothing, leave as is diff --git a/gramps2/src/plugins/WritePkg.py b/gramps2/src/plugins/WritePkg.py index 06146f069..2b6d7bcc6 100644 --- a/gramps2/src/plugins/WritePkg.py +++ b/gramps2/src/plugins/WritePkg.py @@ -138,7 +138,6 @@ class PackageWriter: nl.remove(o) p.set_media_list(nl) self.db.remove_object(ObjectId) - Utils.modified() def leave_clicked(): # File is lost => do nothing, leave as is