mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
update page on content update
This commit is contained in:
parent
a02dfc8b6c
commit
ccc704ad8b
1 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue