From c14fb7c5204c72fd5c1f914054d3e0a3577c8370 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 3 Mar 2006 04:27:56 +0000 Subject: [PATCH] rename module svn: r6053 --- gramps2/ChangeLog | 1 + gramps2/src/DisplayTabs.py | 8 ++++---- gramps2/src/{UrlEdit.py => EditUrl.py} | 0 3 files changed, 5 insertions(+), 4 deletions(-) rename gramps2/src/{UrlEdit.py => EditUrl.py} (100%) 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