diff --git a/qutebrowser/api/message.py b/qutebrowser/api/message.py new file mode 100644 index 000000000..fdb06354f --- /dev/null +++ b/qutebrowser/api/message.py @@ -0,0 +1,23 @@ +# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: + +# Copyright 2018 Florian Bruhin (The Compiler) +# +# This file is part of qutebrowser. +# +# qutebrowser is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# qutebrowser is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with qutebrowser. If not, see . + +"""Utilities to display messages above the status bar.""" + +# pylint: disable=unused-import +from qutebrowser.utils.message import error, warning, info diff --git a/qutebrowser/api/tab.py b/qutebrowser/api/tab.py new file mode 100644 index 000000000..444e49558 --- /dev/null +++ b/qutebrowser/api/tab.py @@ -0,0 +1,23 @@ +# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: + +# Copyright 2018 Florian Bruhin (The Compiler) +# +# This file is part of qutebrowser. +# +# qutebrowser is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# qutebrowser is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with qutebrowser. If not, see . + +"""A single tab.""" + +# pylint: disable=unused-import +from qutebrowser.browser.browsertab import AbstractTab as Tab diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 27848c4c1..e950ff2ec 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -77,6 +77,7 @@ from qutebrowser.utils import (log, version, message, utils, urlutils, objreg, usertypes, standarddir, error, qtutils) # pylint: disable=unused-import # We import those to run the cmdutils.register decorators. +from qutebrowser.components import scrollcommands from qutebrowser.mainwindow.statusbar import command from qutebrowser.misc import utilcmds # pylint: enable=unused-import