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
|
// Actions
|
||||||
void Page::back()
|
void Page::back()
|
||||||
{
|
{
|
||||||
pageNavbar->back();
|
pageNavbar->history_back();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Page::forward()
|
void Page::forward()
|
||||||
{
|
{
|
||||||
pageNavbar->forward();
|
pageNavbar->history_forward();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Page::refresh(
|
void Page::refresh(
|
||||||
@ -104,7 +104,7 @@ void Page::refresh(
|
|||||||
void Page::update()
|
void Page::update()
|
||||||
{
|
{
|
||||||
// Update navigation history
|
// Update navigation history
|
||||||
pageNavbar->push(
|
pageNavbar->history_push(
|
||||||
pageNavbar->get_request_text()
|
pageNavbar->get_request_text()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ Navbar::Navbar(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
void Navbar::back()
|
void Navbar::history_back()
|
||||||
{
|
{
|
||||||
navbar::History::Memory match;
|
navbar::History::Memory match;
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ void Navbar::back()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Navbar::forward()
|
void Navbar::history_forward()
|
||||||
{
|
{
|
||||||
navbar::History::Memory match;
|
navbar::History::Memory match;
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ void Navbar::forward()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Navbar::push(
|
void Navbar::history_push(
|
||||||
const Glib::ustring & VALUE
|
const Glib::ustring & VALUE
|
||||||
) {
|
) {
|
||||||
navbarHistory->push(
|
navbarHistory->push(
|
||||||
|
@ -37,11 +37,9 @@ namespace app::browser::main::tab::page
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
void back();
|
void history_back();
|
||||||
|
void history_forward();
|
||||||
void forward();
|
void history_push(
|
||||||
|
|
||||||
void push(
|
|
||||||
const Glib::ustring & VALUE
|
const Glib::ustring & VALUE
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user