Browse Source

init content entity after navbar construction

PHP-GTK3
yggverse 4 months ago
parent
commit
6f69dc63ee
  1. 4
      src/Entity/Window/Tab/History.php
  2. 2
      src/Entity/Window/Tab/History/Content.php

4
src/Entity/Window/Tab/History.php

@ -31,11 +31,11 @@ class History
\GtkOrientation::VERTICAL \GtkOrientation::VERTICAL
); );
$this->content = new Content( $this->navbar = new Navbar(
$this $this
); );
$this->navbar = new Navbar( $this->content = new Content(
$this $this
); );

2
src/Entity/Window/Tab/History/Content.php

@ -175,7 +175,6 @@ class Content
else else
{ {
/* @TODO initiation test
$this->history->navbar->open->gtk->set_sensitive( $this->history->navbar->open->gtk->set_sensitive(
false false
); );
@ -183,7 +182,6 @@ class Content
$this->history->navbar->delete->gtk->set_sensitive( $this->history->navbar->delete->gtk->set_sensitive(
false false
); );
*/
} }
} }

Loading…
Cancel
Save