Renamed bookmark_del to delete in bookmark manager.
This commit is contained in:
parent
4bc2f63608
commit
96a2178a25
@ -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:
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user