Browse Source

rename methods

CPP-GTK4
yggverse 3 months ago
parent
commit
ff901ebcf8
  1. 6
      src/app/browser/main/tab/page.cpp
  2. 6
      src/app/browser/main/tab/page/navbar.cpp
  3. 8
      src/app/browser/main/tab/page/navbar.hpp

6
src/app/browser/main/tab/page.cpp

@ -75,12 +75,12 @@ Glib::ustring Page::get_subtitle() @@ -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( @@ -104,7 +104,7 @@ void Page::refresh(
void Page::update()
{
// Update navigation history
pageNavbar->push(
pageNavbar->history_push(
pageNavbar->get_request_text()
);

6
src/app/browser/main/tab/page/navbar.cpp

@ -87,7 +87,7 @@ Navbar::Navbar( @@ -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() @@ -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() @@ -115,7 +115,7 @@ void Navbar::forward()
}
}
void Navbar::push(
void Navbar::history_push(
const Glib::ustring & VALUE
) {
navbarHistory->push(

8
src/app/browser/main/tab/page/navbar.hpp

@ -37,11 +37,9 @@ namespace app::browser::main::tab::page @@ -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…
Cancel
Save