mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update page data refresh
This commit is contained in:
parent
2a7e1e9775
commit
a52b8882bc
1 changed files with 17 additions and 5 deletions
|
|
@ -185,18 +185,30 @@ void Page::navigation_update(
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mime = MIME::TEXT_PLAIN;
|
mime = MIME::UNDEFINED;
|
||||||
|
|
||||||
pageContent->set_text_plain(
|
title = _("Oops");
|
||||||
_("MIME type not supported")
|
subtitle = _("MIME type not supported");
|
||||||
|
|
||||||
|
pageContent->set_text_plain( // @TODO
|
||||||
|
subtitle
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
pageContent->set_text_plain(
|
mime = MIME::UNDEFINED;
|
||||||
_("Could not open page")
|
|
||||||
|
title = _("Oops");
|
||||||
|
|
||||||
|
subtitle = Glib::ustring::sprintf(
|
||||||
|
_("Response code %s not supported"),
|
||||||
|
meta[1]
|
||||||
|
);
|
||||||
|
|
||||||
|
pageContent->set_text_plain( // @TODO
|
||||||
|
subtitle
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue