Remove unused tabbed-changed callback
This commit is contained in:
parent
166c446974
commit
82a9fc4abb
@ -280,7 +280,6 @@ void
|
|||||||
Tabbable::detach ()
|
Tabbable::detach ()
|
||||||
{
|
{
|
||||||
show_own_window (true);
|
show_own_window (true);
|
||||||
signal_tabbed_changed (false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -316,8 +315,6 @@ Tabbable::attach ()
|
|||||||
_parent_notebook->set_tab_reorderable (*_contents);
|
_parent_notebook->set_tab_reorderable (*_contents);
|
||||||
_parent_notebook->set_current_page (_parent_notebook->page_num (*_contents));
|
_parent_notebook->set_current_page (_parent_notebook->page_num (*_contents));
|
||||||
|
|
||||||
signal_tabbed_changed (true);
|
|
||||||
|
|
||||||
_contents->show ();
|
_contents->show ();
|
||||||
|
|
||||||
/* have to force this on, which is semantically correct, since
|
/* have to force this on, which is semantically correct, since
|
||||||
@ -415,7 +412,6 @@ Tabbable::set_state (const XMLNode& node, int version)
|
|||||||
|
|
||||||
if (_visible) {
|
if (_visible) {
|
||||||
show_own_window (true);
|
show_own_window (true);
|
||||||
signal_tabbed_changed (false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
XMLNodeList children = node.children ();
|
XMLNodeList children = node.children ();
|
||||||
@ -437,7 +433,6 @@ Tabbable::set_state (const XMLNode& node, int version)
|
|||||||
} else {
|
} else {
|
||||||
/* this does nothing if not tabbed */
|
/* this does nothing if not tabbed */
|
||||||
hide_tab ();
|
hide_tab ();
|
||||||
signal_tabbed_changed (false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,8 +100,6 @@ protected:
|
|||||||
|
|
||||||
bool delete_event_handler (GdkEventAny *ev);
|
bool delete_event_handler (GdkEventAny *ev);
|
||||||
|
|
||||||
sigc::signal1<void, bool> signal_tabbed_changed;
|
|
||||||
|
|
||||||
/* This is the heirarchy of a Tabbable's widget packing.
|
/* This is the heirarchy of a Tabbable's widget packing.
|
||||||
* The end result is to provide 8(ish) event-boxen where the tab can put its contents
|
* The end result is to provide 8(ish) event-boxen where the tab can put its contents
|
||||||
* Please maintain the indention here so the hierarchy is visible
|
* Please maintain the indention here so the hierarchy is visible
|
||||||
|
Loading…
Reference in New Issue
Block a user