rename methods

This commit is contained in:
yggverse 2024-09-04 02:44:38 +03:00
parent 160c498586
commit ff901ebcf8
3 changed files with 9 additions and 11 deletions

View File

@ -75,12 +75,12 @@ Glib::ustring Page::get_subtitle()
// Actions
void Page::back()
{
pageNavbar->back();
pageNavbar->history_back();
}
void Page::forward()
{
pageNavbar->forward();
pageNavbar->history_forward();
}
void Page::refresh(
@ -104,7 +104,7 @@ void Page::refresh(
void Page::update()
{
// Update navigation history
pageNavbar->push(
pageNavbar->history_push(
pageNavbar->get_request_text()
);

View File

@ -87,7 +87,7 @@ Navbar::Navbar(
}
// Actions
void Navbar::back()
void Navbar::history_back()
{
navbar::History::Memory match;
@ -101,7 +101,7 @@ void Navbar::back()
}
}
void Navbar::forward()
void Navbar::history_forward()
{
navbar::History::Memory match;
@ -115,7 +115,7 @@ void Navbar::forward()
}
}
void Navbar::push(
void Navbar::history_push(
const Glib::ustring & VALUE
) {
navbarHistory->push(

View File

@ -37,11 +37,9 @@ namespace app::browser::main::tab::page
);
// Actions
void back();
void forward();
void push(
void history_back();
void history_forward();
void history_push(
const Glib::ustring & VALUE
);