|
|
|
@ -37,6 +37,18 @@ Glib::ustring Tab::get_page_subtitle(
@@ -37,6 +37,18 @@ Glib::ustring Tab::get_page_subtitle(
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// Actions
|
|
|
|
|
void Tab::refresh( |
|
|
|
|
const int & PAGE_NUMBER |
|
|
|
|
) { |
|
|
|
|
auto tabPage = get_tabPage( |
|
|
|
|
PAGE_NUMBER |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
get_tabLabel(PAGE_NUMBER)->set_label( |
|
|
|
|
tabPage->get_title() |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Tab::append( |
|
|
|
|
const Glib::ustring & TITLE, |
|
|
|
|
const Glib::ustring & REQUEST, |
|
|
|
@ -96,40 +108,28 @@ void Tab::close_all()
@@ -96,40 +108,28 @@ void Tab::close_all()
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool Tab::page_navigation_history_try_back( |
|
|
|
|
void Tab::page_navigation_update( |
|
|
|
|
const int & PAGE_NUMBER |
|
|
|
|
) { |
|
|
|
|
return get_tabPage( |
|
|
|
|
get_tabPage( |
|
|
|
|
PAGE_NUMBER |
|
|
|
|
)->navigation_history_try_back(); |
|
|
|
|
)->navigation_update(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool Tab::page_navigation_history_try_forward( |
|
|
|
|
bool Tab::page_navigation_history_try_back( |
|
|
|
|
const int & PAGE_NUMBER |
|
|
|
|
) { |
|
|
|
|
return get_tabPage( |
|
|
|
|
PAGE_NUMBER |
|
|
|
|
)->navigation_history_try_forward(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Tab::refresh( |
|
|
|
|
const int & PAGE_NUMBER |
|
|
|
|
) { |
|
|
|
|
auto tabPage = get_tabPage( |
|
|
|
|
PAGE_NUMBER |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
get_tabLabel(PAGE_NUMBER)->set_label( |
|
|
|
|
tabPage->get_title() |
|
|
|
|
); |
|
|
|
|
)->navigation_history_try_back(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Tab::page_update( |
|
|
|
|
bool Tab::page_navigation_history_try_forward( |
|
|
|
|
const int & PAGE_NUMBER |
|
|
|
|
) { |
|
|
|
|
get_tabPage( |
|
|
|
|
return get_tabPage( |
|
|
|
|
PAGE_NUMBER |
|
|
|
|
)->update(); |
|
|
|
|
)->navigation_history_try_forward(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Private helpers
|
|
|
|
|