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