mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
update setter names
This commit is contained in:
parent
0d7aa9893f
commit
a5a3a5625b
3 changed files with 14 additions and 14 deletions
|
|
@ -113,14 +113,14 @@ void Page::update()
|
|||
// Route by mime type or path extension
|
||||
if (meta[2] == "text/gemini" || Glib::str_has_suffix(navbar->get_request_path(), ".gmi"))
|
||||
{
|
||||
content->text_gemini(
|
||||
content->set_text_gemini(
|
||||
buffer // @TODO
|
||||
);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
content->text_plain(
|
||||
content->set_text_plain(
|
||||
_("MIME type not supported")
|
||||
);
|
||||
}
|
||||
|
|
@ -128,7 +128,7 @@ void Page::update()
|
|||
|
||||
else
|
||||
{
|
||||
content->text_plain(
|
||||
content->set_text_plain(
|
||||
_("Could not open page")
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue