use host as subtitle

This commit is contained in:
yggverse 2024-07-20 16:49:00 +03:00
parent c1a9f9aecf
commit 2e8e065371
2 changed files with 6 additions and 15 deletions

View file

@ -50,8 +50,7 @@ class Gemini
);
$this->_connection->setSubtitle(
$response->getMeta() ? $response->getMeta()
: _('Response expected')
$address->getHost()
);
$this->_connection->setTooltip(
@ -102,7 +101,7 @@ class Gemini
// Set subtitle
$this->_connection->setSubtitle(
$response->getMeta()
$address->getHost()
);
// Set tooltip
@ -125,7 +124,7 @@ class Gemini
);
$this->_connection->setSubtitle(
$response->getMeta()
$address->getHost()
);
$this->_connection->setTooltip(
@ -155,12 +154,7 @@ class Gemini
);
$this->_connection->setSubtitle(
sprintf(
'Could not open request (code: %d)',
intval(
$response->getCode()
)
)
$address->getHost()
);
$this->_connection->setTooltip(

View file

@ -59,7 +59,7 @@ class Nex
// Set subtitle
$this->_connection->setSubtitle(
$mime
$address->getHost()
);
// Set tooltip
@ -83,10 +83,7 @@ class Nex
);
$this->_connection->setSubtitle(
sprintf(
_('Could not open request - %s'),
$address->get()
)
$address->getHost()
);
$this->_connection->setTooltip(