Browse Source

reorder methods

CPP-GTK4
yggverse 2 weeks ago
parent
commit
99fb4a68c0
  1. 20
      src/app/browser/main/tab/page.cpp
  2. 6
      src/app/browser/main/tab/page.hpp

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

@ -56,16 +56,6 @@ Glib::ustring Page::get_subtitle() @@ -56,16 +56,6 @@ Glib::ustring Page::get_subtitle()
}
// Actions
bool Page::navigation_history_try_back()
{
return pageNavigation->history_try_back();
}
bool Page::navigation_history_try_forward()
{
return pageNavigation->history_try_forward();
}
void Page::refresh(
const Glib::ustring & TITLE,
const Glib::ustring & SUBTITLE,
@ -252,3 +242,13 @@ void Page::navigation_update( @@ -252,3 +242,13 @@ void Page::navigation_update(
// @TODO search request
}
}
bool Page::navigation_history_try_back()
{
return pageNavigation->history_try_back();
}
bool Page::navigation_history_try_forward()
{
return pageNavigation->history_try_forward();
}

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

@ -53,9 +53,6 @@ namespace app::browser::main::tab @@ -53,9 +53,6 @@ namespace app::browser::main::tab
Glib::ustring get_subtitle();
// Actions
bool navigation_history_try_back();
bool navigation_history_try_forward();
void refresh(
const Glib::ustring & TITLE,
const Glib::ustring & SUBTITLE,
@ -65,6 +62,9 @@ namespace app::browser::main::tab @@ -65,6 +62,9 @@ namespace app::browser::main::tab
void navigation_update(
const bool & HISTORY = false
);
bool navigation_history_try_back();
bool navigation_history_try_forward();
};
}

Loading…
Cancel
Save