update actions

This commit is contained in:
yggverse 2024-09-05 16:40:41 +03:00
parent 5065dd23d6
commit d63ba8f1ad
11 changed files with 97 additions and 127 deletions

View file

@ -38,6 +38,13 @@ Glib::ustring Main::get_current_tab_page_subtitle()
};
// Actions
void Main::refresh()
{
mainTab->refresh(
mainTab->get_current_page()
);
};
void Main::tab_append()
{
mainTab->append(
@ -45,13 +52,6 @@ void Main::tab_append()
);
};
void Main::tab_update()
{
mainTab->update(
mainTab->get_current_page()
);
};
void Main::tab_close()
{
mainTab->close(
@ -74,6 +74,13 @@ void Main::tab_close_all()
mainTab->close_all();
};
void Main::tab_page_update()
{
mainTab->page_update(
mainTab->get_current_page()
);
};
bool Main::tab_page_navigation_history_try_back()
{
const int & PAGE_NUMBER = mainTab->get_current_page();
@ -102,11 +109,4 @@ bool Main::tab_page_navigation_history_try_forward()
}
return false;
};
void Main::refresh()
{
mainTab->refresh(
mainTab->get_current_page()
);
};