mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra method
This commit is contained in:
parent
53bd6e8fbb
commit
e193240d69
5 changed files with 1 additions and 17 deletions
|
|
@ -226,7 +226,7 @@ Browser::Browser(
|
||||||
signal_close_request().connect(
|
signal_close_request().connect(
|
||||||
[this]
|
[this]
|
||||||
{
|
{
|
||||||
browserMain->shutdown();
|
browserMain->save();
|
||||||
|
|
||||||
// @TODO sqlite3_close(db);
|
// @TODO sqlite3_close(db);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -105,11 +105,6 @@ void Main::tab_page_navigation_history_forward()
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
void Main::shutdown()
|
|
||||||
{
|
|
||||||
mainTab->shutdown();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Glib::ustring Main::get_current_tab_page_title()
|
Glib::ustring Main::get_current_tab_page_title()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,6 @@ namespace app::browser
|
||||||
void tab_page_navigation_history_back();
|
void tab_page_navigation_history_back();
|
||||||
void tab_page_navigation_history_forward();
|
void tab_page_navigation_history_forward();
|
||||||
|
|
||||||
void shutdown();
|
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Glib::ustring get_current_tab_page_title();
|
Glib::ustring get_current_tab_page_title();
|
||||||
Glib::ustring get_current_tab_page_subtitle();
|
Glib::ustring get_current_tab_page_subtitle();
|
||||||
|
|
|
||||||
|
|
@ -170,13 +170,6 @@ int Tab::save()
|
||||||
return EXEC_STATUS;
|
return EXEC_STATUS;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tab::shutdown()
|
|
||||||
{
|
|
||||||
save();
|
|
||||||
|
|
||||||
// @TODO shutdown children components
|
|
||||||
}
|
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
void Tab::refresh(
|
void Tab::refresh(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
|
|
|
||||||
|
|
@ -98,8 +98,6 @@ namespace app::browser::main
|
||||||
|
|
||||||
int save();
|
int save();
|
||||||
|
|
||||||
void shutdown();
|
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Glib::ustring get_page_title(
|
Glib::ustring get_page_title(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue