diff options
-rw-r--r-- | plugin_installer/config_dialog.ui | 4 | ||||
-rw-r--r-- | plugin_installer/plugin_installer.py | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/plugin_installer/config_dialog.ui b/plugin_installer/config_dialog.ui index 790ce49..33077dc 100644 --- a/plugin_installer/config_dialog.ui +++ b/plugin_installer/config_dialog.ui @@ -94,7 +94,9 @@ <property name="headers_clickable">False</property> <property name="search_column">1</property> <child internal-child="selection"> - <object class="GtkTreeSelection"/> + <object class="GtkTreeSelection"> + <signal name="changed" handler="available_plugins_treeview_selection_changed" swapped="no"/> + </object> </child> <child> <object class="GtkTreeViewColumn"> diff --git a/plugin_installer/plugin_installer.py b/plugin_installer/plugin_installer.py index b266e93..c437be7 100644 --- a/plugin_installer/plugin_installer.py +++ b/plugin_installer/plugin_installer.py @@ -169,11 +169,6 @@ class PluginInstaller(GajimPlugin): self.available_plugins_model.set_sort_column_id( 2, Gtk.SortType.ASCENDING) - selection = self.available_treeview.get_selection() - selection.connect( - 'changed', self.available_plugins_treeview_selection_changed) - selection.set_mode(Gtk.SelectionMode.SINGLE) - self.description_textview = HtmlTextView() self.description_textview.set_wrap_mode(Gtk.WrapMode.WORD) self.scrolled_description_window.add(self.description_textview) |