From 6f69dc63ee023dacc7a1fb4d69313ceb27c7249e Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 5 Jul 2024 02:08:51 +0300 Subject: [PATCH] init content entity after navbar construction --- src/Entity/Window/Tab/History.php | 4 ++-- src/Entity/Window/Tab/History/Content.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Entity/Window/Tab/History.php b/src/Entity/Window/Tab/History.php index 73772269..9cde9e74 100644 --- a/src/Entity/Window/Tab/History.php +++ b/src/Entity/Window/Tab/History.php @@ -31,11 +31,11 @@ class History \GtkOrientation::VERTICAL ); - $this->content = new Content( + $this->navbar = new Navbar( $this ); - $this->navbar = new Navbar( + $this->content = new Content( $this ); diff --git a/src/Entity/Window/Tab/History/Content.php b/src/Entity/Window/Tab/History/Content.php index 8ee3ad75..05f26367 100644 --- a/src/Entity/Window/Tab/History/Content.php +++ b/src/Entity/Window/Tab/History/Content.php @@ -175,7 +175,6 @@ class Content else { - /* @TODO initiation test $this->history->navbar->open->gtk->set_sensitive( false ); @@ -183,7 +182,6 @@ class Content $this->history->navbar->delete->gtk->set_sensitive( false ); - */ } }