Browse Source

add default provider for search requests

PHP-GTK3
yggverse 5 months ago
parent
commit
f16a64ddb7
  1. 13
      src/Entity/Window/Tab/Address.php

13
src/Entity/Window/Tab/Address.php

@ -254,16 +254,23 @@ class Address
$this->navbar->request->gtk->set_text( $this->navbar->request->gtk->set_text(
$address->get() $address->get()
); );
$this->update();
} }
// Search request // Search request
else else
{ {
// @TODO $this->navbar->request->gtk->set_text(
sprintf(
'gemini://tlgs.one/search?%s', // @TODO custom provider
urlencode(
$this->navbar->request->gtk->get_text()
)
)
);
} }
$this->update();
return; return;
default: default:

Loading…
Cancel
Save