diff --git a/src/Abstract/Entity/Browser/Container/Page/Content/Markup.php b/src/Abstract/Entity/Browser/Container/Page/Content/Markup.php index 20f7eacd..89f440e9 100644 --- a/src/Abstract/Entity/Browser/Container/Page/Content/Markup.php +++ b/src/Abstract/Entity/Browser/Container/Page/Content/Markup.php @@ -78,12 +78,12 @@ abstract class Markup ); $this->gtk->connect( - 'configure-event', + 'size-allocate', function( - GtkWindow $window, + GtkLabel $label, GdkEvent $event ) { - return $this->_onConfigure( + return $this->_onSizeAllocate( $label, $event ); @@ -107,7 +107,7 @@ abstract class Markup return false; } - abstract protected function _onConfigure( + abstract protected function _onSizeAllocate( GtkLabel $label, GdkEvent $event ): bool; diff --git a/src/Entity/Browser/Container/Page/Content/Gemtext.php b/src/Entity/Browser/Container/Page/Content/Gemtext.php index 7d8df7a8..2ed6acc6 100644 --- a/src/Entity/Browser/Container/Page/Content/Gemtext.php +++ b/src/Entity/Browser/Container/Page/Content/Gemtext.php @@ -248,7 +248,7 @@ class Gemtext extends Markup ); } - protected function _onConfigure( + protected function _onSizeAllocate( GtkLabel $label, GdkEvent $event ): bool diff --git a/src/Entity/Browser/Container/Page/Content/Plain.php b/src/Entity/Browser/Container/Page/Content/Plain.php index 8e7d0190..96d1bcb5 100644 --- a/src/Entity/Browser/Container/Page/Content/Plain.php +++ b/src/Entity/Browser/Container/Page/Content/Plain.php @@ -25,7 +25,7 @@ class Plain extends Markup ); } - protected function _onConfigure( + protected function _onSizeAllocate( GtkLabel $label, GdkEvent $event ): bool