|
|
@ -38,21 +38,8 @@ Main::Main( |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Actions
|
|
|
|
// Actions
|
|
|
|
void Main::update() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mainTab->update( |
|
|
|
|
|
|
|
mainTab->get_current_page() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Main::tab_append() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mainTab->append( |
|
|
|
|
|
|
|
_("New tab"), |
|
|
|
|
|
|
|
true |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Session
|
|
|
|
void Main::clean() |
|
|
|
void Main::clean() |
|
|
|
{ |
|
|
|
{ |
|
|
|
mainTab->clean(); |
|
|
|
mainTab->clean(); |
|
|
@ -68,6 +55,15 @@ void Main::save() |
|
|
|
mainTab->save(); |
|
|
|
mainTab->save(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Tab actions
|
|
|
|
|
|
|
|
void Main::tab_append() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mainTab->append( |
|
|
|
|
|
|
|
_("New tab"), |
|
|
|
|
|
|
|
true |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
void Main::tab_close() |
|
|
|
void Main::tab_close() |
|
|
|
{ |
|
|
|
{ |
|
|
|
mainTab->close( |
|
|
|
mainTab->close( |
|
|
@ -90,6 +86,7 @@ void Main::tab_close_all() |
|
|
|
mainTab->close_all(); |
|
|
|
mainTab->close_all(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//// Tab page navigation
|
|
|
|
void Main::tab_page_navigation_reload() { |
|
|
|
void Main::tab_page_navigation_reload() { |
|
|
|
mainTab->page_navigation_reload( |
|
|
|
mainTab->page_navigation_reload( |
|
|
|
mainTab->get_current_page(), // @TODO
|
|
|
|
mainTab->get_current_page(), // @TODO
|
|
|
@ -97,6 +94,7 @@ void Main::tab_page_navigation_reload() { |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///// Tab page navigation history
|
|
|
|
void Main::tab_page_navigation_history_back() |
|
|
|
void Main::tab_page_navigation_history_back() |
|
|
|
{ |
|
|
|
{ |
|
|
|
mainTab->page_navigation_history_back( |
|
|
|
mainTab->page_navigation_history_back( |
|
|
@ -111,6 +109,14 @@ void Main::tab_page_navigation_history_forward() |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Other
|
|
|
|
|
|
|
|
void Main::update() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mainTab->update( |
|
|
|
|
|
|
|
mainTab->get_current_page() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// Getters
|
|
|
|
// Getters
|
|
|
|
Glib::ustring Main::get_tab_page_title() |
|
|
|
Glib::ustring Main::get_tab_page_title() |
|
|
|
{ |
|
|
|
{ |
|
|
|