diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7a0949065..fdc1c9752 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-03-02 Don Allingham + * src/EditUrl.py: renamed from UrlEdit.py * src/Makefile.am: adapt to module renames * src/NoteEdit.py: removed * src/EditAttribute.py: renamed from AttrEdit.py diff --git a/gramps2/src/DisplayTabs.py b/gramps2/src/DisplayTabs.py index ea18c0c1c..ef2c46aa7 100644 --- a/gramps2/src/DisplayTabs.py +++ b/gramps2/src/DisplayTabs.py @@ -926,10 +926,10 @@ class WebEmbedList(EmbeddedList): return ((1,0),(1,1),(1,2)) def add_button_clicked(self,obj): - import UrlEdit + import EditUrl url = RelLib.Url() try: - UrlEdit.UrlEditor(self.dbstate, self.uistate, self.track, + EditUrl.UrlEditor(self.dbstate, self.uistate, self.track, '', url, self.add_callback) except Errors.WindowActiveError: pass @@ -941,9 +941,9 @@ class WebEmbedList(EmbeddedList): def edit_button_clicked(self,obj): url = self.get_selected() if url: - import UrlEdit + import EditUrl try: - UrlEdit.UrlEditor(self.dbstate, self.uistate, self.track, + EditUrl.UrlEditor(self.dbstate, self.uistate, self.track, '', url, self.edit_callback) except Errors.WindowActiveError: pass diff --git a/gramps2/src/UrlEdit.py b/gramps2/src/EditUrl.py similarity index 100% rename from gramps2/src/UrlEdit.py rename to gramps2/src/EditUrl.py