diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-05 02:06:51 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-05 02:06:51 +0000 |
commit | d13cb3bd40b5d5ae54c3adfcf952e6f965e51d08 (patch) | |
tree | 146a4ba60ea502b46899ae9d09232f56969f27df /gtk2_ardour/editor.h | |
parent | 24f03e4444a1e52e16223a02de7deff5d3905688 (diff) |
Make editor list notebook shrink or expand when the tab is double-clicked, as per #3662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8443 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 2c2056dbd6..c46b305c27 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -520,7 +520,11 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD int pre_maximal_editor_height; void pane_allocation_handler (Gtk::Allocation&, Gtk::Paned*); - Gtk::Notebook the_notebook; + Gtk::Notebook _the_notebook; + bool _notebook_shrunk; + void add_notebook_page (std::string const &, Gtk::Widget &); + bool notebook_tab_clicked (GdkEventButton *, Gtk::Widget *); + Gtk::HPaned edit_pane; Gtk::VPaned editor_summary_pane; |