diff options
author | Robin Gareus <robin@gareus.org> | 2017-02-20 22:55:31 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-20 22:55:31 +0100 |
commit | 3ecd5d6f088ff56de31eb6fbd82379acaa51e5d4 (patch) | |
tree | 89216424668a09c925319021db6a29ee2e12b795 /libs/gtkmm2ext/tabbable.cc | |
parent | 15eb6f716dcf822ac9f72c0d328207fa4b1cb602 (diff) |
Allow to pre-seed Tabbable detached state.
Diffstat (limited to 'libs/gtkmm2ext/tabbable.cc')
-rw-r--r-- | libs/gtkmm2ext/tabbable.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/tabbable.cc b/libs/gtkmm2ext/tabbable.cc index 5e4752454e..e4637d6bff 100644 --- a/libs/gtkmm2ext/tabbable.cc +++ b/libs/gtkmm2ext/tabbable.cc @@ -35,11 +35,11 @@ using namespace Gtkmm2ext; using namespace Gtk; using std::string; -Tabbable::Tabbable (Widget& w, const string& name) +Tabbable::Tabbable (Widget& w, const string& name, bool tabbed_by_default) : WindowProxy (name) , _contents (w) , _parent_notebook (0) - , tab_requested_by_state (true) + , tab_requested_by_state (tabbed_by_default) { } |