redirect to gemini:// on scheme not provided

This commit is contained in:
yggverse 2024-08-17 10:27:17 +03:00
parent 09542c5134
commit a064778d68
3 changed files with 46 additions and 3 deletions

View file

@ -99,7 +99,18 @@ void Navbar::refresh()
);
}
// Public getters
// Setters
void Navbar::set_request(
const std::string value
) {
request->set_text(
value
);
// refresh(); not wanted as on change listener do same @TODO
}
// Getters
Glib::ustring Navbar::get_request()
{
return request->get_text();

View file

@ -42,6 +42,11 @@ namespace app::browser::main::tab::page
// Actions
void refresh();
// Setters
void set_request(
const std::string value
);
// Getters
Glib::ustring get_request();