|
|
@ -37,19 +37,19 @@ class Base extends \Yggverse\Yoda\Abstract\Entity\Window\Tab\Address\Navbar\Butt |
|
|
|
$this->update(); |
|
|
|
$this->update(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function update( |
|
|
|
public function refresh(): void |
|
|
|
?\Yggverse\Net\Address $address = null |
|
|
|
|
|
|
|
): void |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (is_null($address)) |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
$address = new \Yggverse\Net\Address( |
|
|
|
$address = new \Yggverse\Net\Address( |
|
|
|
$this->navbar->request->gtk->get_text() |
|
|
|
rtrim( |
|
|
|
|
|
|
|
$this->navbar->request->gtk->get_text(), |
|
|
|
|
|
|
|
'/' |
|
|
|
|
|
|
|
) |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->navbar->base->gtk->set_sensitive( |
|
|
|
$this->navbar->base->gtk->set_sensitive( |
|
|
|
$address->getHost() && ($address->getPath() || $address->getQuery()) |
|
|
|
$address->getHost() && ( |
|
|
|
|
|
|
|
$address->getPath() || $address->getQuery() |
|
|
|
|
|
|
|
) |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |