Remove unused Tabbable tab_title (3/3)
This commit is contained in:
parent
73fb2ddfed
commit
02ba5a7cd1
@ -54,7 +54,7 @@ Tabbable::~Tabbable ()
|
||||
}
|
||||
|
||||
void
|
||||
Tabbable::add_to_notebook (Notebook& notebook, const string& tab_title)
|
||||
Tabbable::add_to_notebook (Notebook& notebook)
|
||||
{
|
||||
_parent_notebook = ¬ebook;
|
||||
|
||||
@ -312,7 +312,7 @@ Tabbable::show_tab ()
|
||||
if (!window_visible() && _parent_notebook) {
|
||||
if (_contents.get_parent() == 0) {
|
||||
tab_requested_by_state = true;
|
||||
add_to_notebook (*_parent_notebook, _tab_title);
|
||||
add_to_notebook (*_parent_notebook);
|
||||
}
|
||||
_parent_notebook->set_current_page (_parent_notebook->page_num (_contents));
|
||||
_contents.show ();
|
||||
|
@ -47,7 +47,7 @@ public:
|
||||
Tabbable (Gtk::Widget&, const std::string& user_visible_name, std::string const & untranslated_name, bool tabbed_by_default = true);
|
||||
~Tabbable ();
|
||||
|
||||
void add_to_notebook (Gtk::Notebook& notebook, const std::string& tab_title = "");
|
||||
void add_to_notebook (Gtk::Notebook& notebook);
|
||||
void make_visible ();
|
||||
void make_invisible ();
|
||||
void change_visibility ();
|
||||
@ -89,7 +89,6 @@ private:
|
||||
Gtk::Widget& _contents;
|
||||
Gtk::Notebook _own_notebook;
|
||||
Gtk::Notebook* _parent_notebook;
|
||||
std::string _tab_title;
|
||||
bool tab_requested_by_state;
|
||||
|
||||
void show_tab ();
|
||||
|
Loading…
Reference in New Issue
Block a user