Skip to content

Commit

Permalink
Renamed bookmark_del to delete in bookmark manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Jul 11, 2015
1 parent 4bc2f63 commit 96a2178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qutebrowser/browser/bookmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def add(self, win_id, url, title):
self.added.emit(title, urlstr)
message.info(win_id, "Bookmark added")

def bookmark_del(self, url):
def delete(self, url):
"""Delete a bookmark.
Args:
Expand Down
2 changes: 1 addition & 1 deletion qutebrowser/completion/models/urlmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def delete_cur_item(self, win_id):
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')
Expand Down

0 comments on commit 96a2178

Please sign in to comment.