Renamed bookmark_del to delete in bookmark manager.

This commit is contained in:
Antoni Boucher 2015-07-11 19:23:21 -04:00
parent 4bc2f63608
commit 96a2178a25
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ class BookmarkManager(QObject):
self.added.emit(title, urlstr)
message.info(win_id, "Bookmark added")
def bookmark_del(self, url):
def delete(self, url):
"""Delete a bookmark.
Args:

View File

@ -190,7 +190,7 @@ class UrlCompletionModel(base.BaseCompletionModel):
if category.isValid():
if category.data() == 'Bookmarks':
bookmark_manager = objreg.get('bookmark-manager')
bookmark_manager.bookmark_del(url)
bookmark_manager.delete(url)
message.info(win_id, "Bookmarks deleted")
elif category.data() == 'Quickmarks':
quickmark_manager = objreg.get('quickmark-manager')