mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use host as subtitle
This commit is contained in:
parent
c1a9f9aecf
commit
2e8e065371
2 changed files with 6 additions and 15 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue