From dc769fad04217316188091701c1ac5239d4af95c Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 6 Jul 2024 17:55:00 +0300 Subject: [PATCH] remove default value setter, disable set_line_wrap, enable set_track_visited_links --- .../Browser/Container/Tab/Page/Content/Data.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Entity/Browser/Container/Tab/Page/Content/Data.php b/src/Entity/Browser/Container/Tab/Page/Content/Data.php index 0471ef2e..b8c892b9 100644 --- a/src/Entity/Browser/Container/Tab/Page/Content/Data.php +++ b/src/Entity/Browser/Container/Tab/Page/Content/Data.php @@ -14,9 +14,6 @@ class Data // Dependencies public \Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content; - // Defaults - private string $_value = ''; - public function __construct( \Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content ) { @@ -34,10 +31,20 @@ class Data true ); + /* $this->gtk->set_line_wrap( true ); + $this->gtk->set_line_wrap_mode( + @TODO #114 + ); + */ + + $this->gtk->set_track_visited_links( + true + ); + $this->gtk->set_xalign( 0 ); @@ -46,10 +53,6 @@ class Data 0 ); - $this->setPlain( - $this->_value - ); - $this->gtk->connect( 'activate-link', function(