diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 35c7dbaea..96e146ada 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -236,8 +236,8 @@ def data(readonly=False): "The default zoom level."), ('downloads-position', - SettingValue(typ.VerticalPosition(), 'north'), - "Where to show the downloaded files."), + SettingValue(typ.VerticalPosition(), 'north'), + "Where to show the downloaded files."), ('message-timeout', SettingValue(typ.Int(), '2000'), @@ -1010,6 +1010,7 @@ def data(readonly=False): DATA = data(readonly=True) + KEY_FIRST_COMMENT = """ # vim: ft=conf # diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py index ff50ab354..c619a6f47 100644 --- a/qutebrowser/mainwindow/mainwindow.py +++ b/qutebrowser/mainwindow/mainwindow.py @@ -144,6 +144,7 @@ class MainWindow(QWidget): self._add_widgets() def _add_widgets(self): + """Add or readd all widgets to the VBox.""" self._vbox.removeWidget(self._tabbed_browser) self._vbox.removeWidget(self._downloadview) self._vbox.removeWidget(self.status) @@ -158,7 +159,6 @@ class MainWindow(QWidget): raise ValueError("Invalid position {}!".format(position)) self._vbox.addWidget(self.status) - def _load_state_geometry(self): """Load the geometry from the state file.""" state_config = objreg.get('state-config')