Fixed bookmarks command names.
This commit is contained in:
parent
1698c60124
commit
9582162927
@ -1014,7 +1014,7 @@ class CommandDispatcher:
|
|||||||
self._open(url, tab, bg, window)
|
self._open(url, tab, bg, window)
|
||||||
|
|
||||||
@cmdutils.register(instance='command-dispatcher', scope='window')
|
@cmdutils.register(instance='command-dispatcher', scope='window')
|
||||||
def bookmark(self):
|
def bookmark_add(self):
|
||||||
"""Save the current page as a bookmark."""
|
"""Save the current page as a bookmark."""
|
||||||
bookmark_manager = objreg.get('bookmark-manager')
|
bookmark_manager = objreg.get('bookmark-manager')
|
||||||
bookmark_manager.bookmark_add(self._win_id, self._current_url(),
|
bookmark_manager.bookmark_add(self._win_id, self._current_url(),
|
||||||
@ -1023,7 +1023,7 @@ class CommandDispatcher:
|
|||||||
@cmdutils.register(instance='command-dispatcher', scope='window',
|
@cmdutils.register(instance='command-dispatcher', scope='window',
|
||||||
maxsplit=0,
|
maxsplit=0,
|
||||||
completion=[usertypes.Completion.bookmark_by_url])
|
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.
|
"""Load a bookmark.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user