Browse Source

add timeout message

PHP-GTK3
yggverse 4 months ago
parent
commit
50c41485ac
  1. 10
      src/Entity/Browser/Container/Page.php

10
src/Entity/Browser/Container/Page.php

@ -223,6 +223,16 @@ class Page @@ -223,6 +223,16 @@ class Page
// Stop event loop on request expired
if (time() > $expire)
{
// Update title
$this->title->set(
_('Timeout')
);
// Update content
$this->content->setGemtext(
_('Response time reached')
);
// Hide progressbar
$this->progressbar->hide();

Loading…
Cancel
Save