mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25: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(
|
$this->_connection->setSubtitle(
|
||||||
$response->getMeta() ? $response->getMeta()
|
$address->getHost()
|
||||||
: _('Response expected')
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_connection->setTooltip(
|
$this->_connection->setTooltip(
|
||||||
|
|
@ -102,7 +101,7 @@ class Gemini
|
||||||
|
|
||||||
// Set subtitle
|
// Set subtitle
|
||||||
$this->_connection->setSubtitle(
|
$this->_connection->setSubtitle(
|
||||||
$response->getMeta()
|
$address->getHost()
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set tooltip
|
// Set tooltip
|
||||||
|
|
@ -125,7 +124,7 @@ class Gemini
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_connection->setSubtitle(
|
$this->_connection->setSubtitle(
|
||||||
$response->getMeta()
|
$address->getHost()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_connection->setTooltip(
|
$this->_connection->setTooltip(
|
||||||
|
|
@ -155,12 +154,7 @@ class Gemini
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_connection->setSubtitle(
|
$this->_connection->setSubtitle(
|
||||||
sprintf(
|
$address->getHost()
|
||||||
'Could not open request (code: %d)',
|
|
||||||
intval(
|
|
||||||
$response->getCode()
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_connection->setTooltip(
|
$this->_connection->setTooltip(
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ class Nex
|
||||||
|
|
||||||
// Set subtitle
|
// Set subtitle
|
||||||
$this->_connection->setSubtitle(
|
$this->_connection->setSubtitle(
|
||||||
$mime
|
$address->getHost()
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set tooltip
|
// Set tooltip
|
||||||
|
|
@ -83,10 +83,7 @@ class Nex
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_connection->setSubtitle(
|
$this->_connection->setSubtitle(
|
||||||
sprintf(
|
$address->getHost()
|
||||||
_('Could not open request - %s'),
|
|
||||||
$address->get()
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_connection->setTooltip(
|
$this->_connection->setTooltip(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue