Rename CurCommandDispatcher to CommandDispatcher

This commit is contained in:
Florian Bruhin 2014-05-18 08:04:27 +02:00
parent 8e4aaf1706
commit 1ec0766587
3 changed files with 4 additions and 3 deletions

View File

@ -39,7 +39,7 @@ from qutebrowser.utils.misc import shell_escape
from qutebrowser.commands.exceptions import CommandError
class CurCommandDispatcher(QObject):
class CommandDispatcher(QObject):
"""Command dispatcher for TabbedBrowser.

View File

@ -29,7 +29,7 @@ import qutebrowser.commands.utils as cmdutils
from qutebrowser.widgets._tabwidget import TabWidget, EmptyTabIcon
from qutebrowser.widgets.webview import WebView
from qutebrowser.browser.signalfilter import SignalFilter
from qutebrowser.browser.curcommand import CurCommandDispatcher
from qutebrowser.browser.commands import CommandDispatcher
class TabbedBrowser(TabWidget):
@ -94,7 +94,7 @@ class TabbedBrowser(TabWidget):
self._tabs = []
self.url_stack = []
self._filter = SignalFilter(self)
self.cmd = CurCommandDispatcher(self)
self.cmd = CommandDispatcher(self)
self.last_focused = None
self.now_focused = None
# FIXME adjust this to font size

View File

@ -170,6 +170,7 @@ class StatusBar(QWidget):
def _show_cmd_widget(self):
"""Show command widget instead of temporary text."""
self.error = False
self._text_pop_timer.stop()
self._stack.setCurrentWidget(self.cmd)