mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-06 00:14:13 +00:00
rename methods
This commit is contained in:
parent
160c498586
commit
ff901ebcf8
@ -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()
|
||||
);
|
||||
|
||||
|
@ -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(
|
||||
|
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user