def _make_header(self):
        self._header_paned = Gtk.Paned()
        self.set_titlebar(self._header_paned)

        self._left_header = Gtk.HeaderBar()
        layout = Gtk.Settings.get_default().props.gtk_decoration_layout
        self._left_header.set_decoration_layout(layout.split(':')[0])

        self._right_header = Gtk.HeaderBar()
        self._right_header.set_decoration_layout(':'+layout.split(':')[1])
        self._right_header.props.show_close_button = True

        self._header_paned.add1(self._left_header)
        self._header_paned.child_set_property(
            self._left_header, 'shrink', False)
        self._header_paned.add2(self._right_header)
        self._header_paned.child_set_property(
            self._right_header, 'shrink', False)
        self._header_paned.show_all()

        self._identity = IdentityButton(self._ic)
        self._right_header.pack_start(self._identity)
        self._identity.show()

        self._stack_switcher = Gtk.StackSwitcher(stack=self._stack)
        self._right_header.pack_end(self._stack_switcher)
        self._stack_switcher.show()

        self._webview_toolbar = WebviewToolbar(self._webview)
        self._right_header.pack_end(self._webview_toolbar)