Browse Source

implement previous session restore

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

19
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'
);
$this->appendPage(
'nex://nightfall.city'
);
// Restore previous session
foreach ($this->container->browser->database->getSession() as $session)
{
$this->appendPage(
$session->request
);
}
// Init events
$this->gtk->connect(

Loading…
Cancel
Save