diff options
author | David Robillard <d@drobilla.net> | 2012-11-22 06:28:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-22 06:28:03 +0000 |
commit | 5f3327814b1186ba8bb77e4ac28d121eda35387d (patch) | |
tree | cb3bf53871cca2e1eef284e33c36ca88ea78d73e /src | |
parent | 0183d95e0634ab068d75706316b3f52ae396bd85 (diff) | |
download | ingen-5f3327814b1186ba8bb77e4ac28d121eda35387d.tar.gz ingen-5f3327814b1186ba8bb77e4ac28d121eda35387d.tar.bz2 ingen-5f3327814b1186ba8bb77e4ac28d121eda35387d.zip |
Remove unused icon column from plugin window.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4853 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/LoadPluginWindow.cpp | 9 | ||||
-rw-r--r-- | src/gui/LoadPluginWindow.hpp | 8 |
2 files changed, 7 insertions, 10 deletions
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index 089e7bc1..da114bc3 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -60,16 +60,15 @@ LoadPluginWindow::LoadPluginWindow(BaseObjectType* cobject, // Set up the plugins list _plugins_liststore = Gtk::ListStore::create(_plugins_columns); _plugins_treeview->set_model(_plugins_liststore); - _plugins_treeview->append_column("", _plugins_columns._col_icon); _plugins_treeview->append_column("_Name", _plugins_columns._col_name); _plugins_treeview->append_column("_Type", _plugins_columns._col_type); _plugins_treeview->append_column("_URI", _plugins_columns._col_uri); // This could be nicer.. store the TreeViewColumns locally maybe? - _plugins_treeview->get_column(1)->set_sort_column(_plugins_columns._col_name); - _plugins_treeview->get_column(2)->set_sort_column(_plugins_columns._col_type); - _plugins_treeview->get_column(3)->set_sort_column(_plugins_columns._col_uri); - for (int i=0; i < 3; ++i) + _plugins_treeview->get_column(0)->set_sort_column(_plugins_columns._col_name); + _plugins_treeview->get_column(1)->set_sort_column(_plugins_columns._col_type); + _plugins_treeview->get_column(2)->set_sort_column(_plugins_columns._col_uri); + for (int i = 0; i < 3; ++i) _plugins_treeview->get_column(i)->set_resizable(true); // Set up the search criteria combobox diff --git a/src/gui/LoadPluginWindow.hpp b/src/gui/LoadPluginWindow.hpp index 7ed00cb5..cbffa87c 100644 --- a/src/gui/LoadPluginWindow.hpp +++ b/src/gui/LoadPluginWindow.hpp @@ -72,17 +72,15 @@ private: class ModelColumns : public Gtk::TreeModel::ColumnRecord { public: ModelColumns() { - add(_col_icon); add(_col_name); add(_col_type); add(_col_uri); add(_col_plugin); } - Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > _col_icon; - Gtk::TreeModelColumn<Glib::ustring> _col_name; - Gtk::TreeModelColumn<Glib::ustring> _col_type; - Gtk::TreeModelColumn<Glib::ustring> _col_uri; + Gtk::TreeModelColumn<Glib::ustring> _col_name; + Gtk::TreeModelColumn<Glib::ustring> _col_type; + Gtk::TreeModelColumn<Glib::ustring> _col_uri; // Not displayed: Gtk::TreeModelColumn< SharedPtr<const Client::PluginModel> > _col_plugin; |