Added method for gramps to handle url requests

svn: r15808
This commit is contained in:
Doug Blank
2010-08-23 14:06:41 +00:00
parent ecef5c1d26
commit bdd07988c6
3 changed files with 11 additions and 2 deletions

View File

@@ -717,7 +717,8 @@ class StyledTextEditor(gtk.TextView):
else:
return
# If ok, then let's open
display_url(url)
obj = find_parent_with_attr(self, attr="dbstate")
display_url(url, obj.uistate)
def _copy_url_cb(self, menuitem, url, flavor):
"""Copy url to both useful selections."""