Fixed bookmarks command names.

This commit is contained in:
Antoni Boucher 2015-06-01 17:52:23 -04:00
parent 1698c60124
commit 9582162927

View File

@ -1014,7 +1014,7 @@ class CommandDispatcher:
self._open(url, tab, bg, window)
@cmdutils.register(instance='command-dispatcher', scope='window')
def bookmark(self):
def bookmark_add(self):
"""Save the current page as a bookmark."""
bookmark_manager = objreg.get('bookmark-manager')
bookmark_manager.bookmark_add(self._win_id, self._current_url(),
@ -1023,7 +1023,7 @@ class CommandDispatcher:
@cmdutils.register(instance='command-dispatcher', scope='window',
maxsplit=0,
completion=[usertypes.Completion.bookmark_by_url])
def bookmarks(self, url, tab=False, bg=False, window=False):
def bookmark_load(self, url, tab=False, bg=False, window=False):
"""Load a bookmark.
Args: