Browse Source

update page on content update

PHP-GTK3
yggverse 4 months ago
parent
commit
ccc704ad8b
  1. 8
      src/Entity/Browser/Container/Tab/Page/Content.php

8
src/Entity/Browser/Container/Tab/Page/Content.php

@ -59,7 +59,7 @@ class Content
$this->page->navbar->request->gtk->get_text() $this->page->navbar->request->gtk->get_text()
); );
// Update title // Init new title
$this->page->title->setValue( $this->page->title->setValue(
$address->getHost() $address->getHost()
); );
@ -71,7 +71,7 @@ class Content
$address->get() $address->get()
); );
// Refresh history in database // Update history in database
$this->page->tab->container->browser->database->renewHistory( $this->page->tab->container->browser->database->renewHistory(
$address->get(), $address->get(),
// @TODO title // @TODO title
@ -283,6 +283,10 @@ class Content
); );
} }
// Render content
$this->gtk->show_all(); $this->gtk->show_all();
// Refresh page components
$this->page->refresh();
} }
} }
Loading…
Cancel
Save