diff options
author | David Robillard <d@drobilla.net> | 2009-11-16 04:08:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-16 04:08:14 +0000 |
commit | 4ae2cca91a7482d23837f27b4c5130b0dbde98f3 (patch) | |
tree | bf5182fdae8d4dc0aefeb685371643acb8bb128a /src/gui/PatchTreeWindow.cpp | |
parent | 720dc98574c6ec13f3d9c61d67a7144cb8200a2c (diff) | |
download | ingen-4ae2cca91a7482d23837f27b4c5130b0dbde98f3.tar.gz ingen-4ae2cca91a7482d23837f27b4c5130b0dbde98f3.tar.bz2 ingen-4ae2cca91a7482d23837f27b4c5130b0dbde98f3.zip |
Make all windows respond to ctrl+w.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2269 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchTreeWindow.cpp')
-rw-r--r-- | src/gui/PatchTreeWindow.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/gui/PatchTreeWindow.cpp b/src/gui/PatchTreeWindow.cpp index a7fb4495..b3b0f682 100644 --- a/src/gui/PatchTreeWindow.cpp +++ b/src/gui/PatchTreeWindow.cpp @@ -33,7 +33,7 @@ namespace GUI { PatchTreeWindow::PatchTreeWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml) - : Gtk::Window(cobject) + : Window(cobject) , _enable_signal(true) { xml->get_widget_derived("patches_treeview", _patches_treeview); @@ -56,8 +56,6 @@ PatchTreeWindow::PatchTreeWindow(BaseObjectType* cobject, _patch_tree_selection = _patches_treeview->get_selection(); - //m_patch_tree_selection->signal_changed().connect( - // sigc::mem_fun(this, &PatchTreeWindow::event_patch_selected)); _patches_treeview->signal_row_activated().connect( sigc::mem_fun(this, &PatchTreeWindow::event_patch_activated)); enabled_renderer->signal_toggled().connect( @@ -146,18 +144,6 @@ PatchTreeWindow::find_patch(Gtk::TreeModel::Children root, const Path& path) return root.end(); } -/* -void -PatchTreeWindow::event_patch_selected() -{ - Gtk::TreeModel::iterator active = _patch_tree_selection->get_selected(); - if (active) { - Gtk::TreeModel::Row row = *active; - SharedPtr<PatchModel> pm = row[_patch_tree_columns.patch_model_col]; - } -} -*/ - /** Show the context menu for the selected patch in the patches treeview. */ |