diff --git a/src/Entity/Browser/Header.php b/src/Entity/Browser/Header.php index 0d8c56d4..78f32ddb 100644 --- a/src/Entity/Browser/Header.php +++ b/src/Entity/Browser/Header.php @@ -53,17 +53,28 @@ class Header } public function setTitle( - ?string $title = null + ?string $value = null ): void { $this->gtk->set_title( - is_null($title) ? $this->_title : sprintf( + is_null($value) ? $this->_title : sprintf( '%s - %s', trim( - $title + $value ), $this->_title ) ); } + + public function setSubtitle( + ?string $value = null + ): void + { + $this->gtk->set_subtitle( + is_null($value) ? $this->_subtitle : trim( + $value + ) + ); + } } \ No newline at end of file