@ -69,7 +69,7 @@ class Address
@@ -69,7 +69,7 @@ class Address
);
// Update title
$this->title->gtk->set_t ext(
$this->title->setT ext(
$address->getHost()
);
@ -93,7 +93,7 @@ class Address
@@ -93,7 +93,7 @@ class Address
$this->navbar->address->tab->refresh();
// Update statusbar indicator
$this->statusbar->gtk->set_t ext(
$this->statusbar->setT ext(
'Loading...'
);
@ -125,12 +125,12 @@ class Address
@@ -125,12 +125,12 @@ class Address
if ($title) // detect title by document h1
{
$this->title->gtk->set_t ext(
$this->title->setT ext(
$title
);
}
$this->statusbar->gtk->set_t ext(
$this->statusbar->setT ext(
null
);
@ -138,7 +138,7 @@ class Address
@@ -138,7 +138,7 @@ class Address
default:
$this->title->gtk->set_t ext(
$this->title->setT ext(
'Oops!'
);
@ -146,7 +146,7 @@ class Address
@@ -146,7 +146,7 @@ class Address
'File extension not supported'
);
$this->statusbar->gtk->set_t ext(
$this->statusbar->setT ext(
null
);
}
@ -154,7 +154,7 @@ class Address
@@ -154,7 +154,7 @@ class Address
else
{
$this->title->gtk->set_t ext(
$this->title->setT ext(
'Failure'
);
@ -162,7 +162,7 @@ class Address
@@ -162,7 +162,7 @@ class Address
'Could not open file'
);
$this->statusbar->gtk->set_t ext(
$this->statusbar->setT ext(
'Resource not found or not readable'
);
}
@ -200,7 +200,7 @@ class Address
@@ -200,7 +200,7 @@ class Address
if ($title) // detect title by document h1
{
$this->title->gtk->set_t ext(
$this->title->setT ext(
$title
);
}
@ -214,14 +214,14 @@ class Address
@@ -214,14 +214,14 @@ class Address
);
}
$this->statusbar->gtk->set_t ext(
$this->statusbar->setT ext(
$response->getMeta()
);
}
else
{
$this->title->gtk->set_t ext(
$this->title->setT ext(
'Failure'
);
@ -234,7 +234,7 @@ class Address
@@ -234,7 +234,7 @@ class Address
)
);
$this->statusbar->gtk->set_t ext(
$this->statusbar->setT ext(
'Request failed'
);
}
@ -258,7 +258,7 @@ class Address
@@ -258,7 +258,7 @@ class Address
FILTER_FLAG_HOSTNAME
)
) {
$this->navbar->request->gtk->set_text (
$this->navbar->request->setValue (
$address->get()
);
}
@ -266,7 +266,7 @@ class Address
@@ -266,7 +266,7 @@ class Address
// Search request
else
{
$this->navbar->request->gtk->set_text (
$this->navbar->request->setValue (
sprintf(
'gemini://tlgs.one/search?%s', // @TODO custom provider
urlencode(
@ -282,7 +282,7 @@ class Address
@@ -282,7 +282,7 @@ class Address
default:
$this->title->gtk->set_t ext(
$this->title->setT ext(
'Oops!'
);
@ -295,7 +295,7 @@ class Address
@@ -295,7 +295,7 @@ class Address
)
);
$this->statusbar->gtk->set_t ext(
$this->statusbar->setT ext(
null
);
}