summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/LoadPluginWindow.cpp9
-rw-r--r--src/gui/LoadPluginWindow.hpp8
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;