rename module

svn: r6053
This commit is contained in:
Don Allingham 2006-03-03 04:27:56 +00:00
parent 62b0afd257
commit c14fb7c520
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,5 @@
2006-03-02 Don Allingham <don@gramps-project.org>
* 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

View File

@ -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