Browse Source

implement previous session restore

PHP-GTK3
yggverse 4 months ago
parent
commit
5c3ada2362
  1. 15
      src/Entity/Browser/Container/Tab.php

15
src/Entity/Browser/Container/Tab.php

@ -33,18 +33,13 @@ class Tab @@ -33,18 +33,13 @@ class Tab
$this->_scrollable
);
// Init previous session @TODO
$this->appendPage(
'gemini://yggverse.cities.yesterweb.org'
);
$this->appendPage(
'gemini://tlgs.one'
);
// Restore previous session
foreach ($this->container->browser->database->getSession() as $session)
{
$this->appendPage(
'nex://nightfall.city'
$session->request
);
}
// Init events
$this->gtk->connect(

Loading…
Cancel
Save