mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update actions
This commit is contained in:
parent
5065dd23d6
commit
d63ba8f1ad
11 changed files with 97 additions and 127 deletions
|
|
@ -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()
|
||||
);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue