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()
} }
// Actions // 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( void Page::refresh(
const Glib::ustring & TITLE, const Glib::ustring & TITLE,
const Glib::ustring & SUBTITLE, const Glib::ustring & SUBTITLE,
@ -252,3 +242,13 @@ void Page::navigation_update(
// @TODO search request // @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
Glib::ustring get_subtitle(); Glib::ustring get_subtitle();
// Actions // Actions
bool navigation_history_try_back();
bool navigation_history_try_forward();
void refresh( void refresh(
const Glib::ustring & TITLE, const Glib::ustring & TITLE,
const Glib::ustring & SUBTITLE, const Glib::ustring & SUBTITLE,
@ -65,6 +62,9 @@ namespace app::browser::main::tab
void navigation_update( void navigation_update(
const bool & HISTORY = false const bool & HISTORY = false
); );
bool navigation_history_try_back();
bool navigation_history_try_forward();
}; };
} }

Loading…
Cancel
Save