diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-06 20:25:51 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-06 20:25:51 -0500 |
commit | 64a678e1d7d4513ce66f7b202c2abe4bdfe5d678 (patch) | |
tree | 45ef72119aa5e026b31a2df7523eb1e3af7dea8d /gtk2_ardour/option_editor.cc | |
parent | 0d849c14984ecf9a3577b61f9a3f4608cbee6463 (diff) |
avoid blank header bar in option editor treeview
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r-- | gtk2_ardour/option_editor.cc | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 56cb4ca1d7..889fafceb4 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -1,19 +1,19 @@ /* - Copyright (C) 2001-2009 Paul Davis + Copyright (C) 2001-2009 Paul Davis - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <algorithm> @@ -485,6 +485,7 @@ OptionEditor::OptionEditor (PBD::Configuration* c, std::string const & t) option_treeview.set_enable_search(true); option_treeview.set_search_column(0); option_treeview.set_name ("OptionsTreeView"); + option_treeview.set_headers_visible (false); option_treeview.get_selection()->set_mode (Gtk::SELECTION_SINGLE); option_treeview.get_selection()->signal_changed().connect (sigc::mem_fun (*this, &OptionEditor::treeview_row_selected)); |