Show plugins list sorted by name by default in Plugins dialog.

This commit is contained in:
Alex Dedul 2007-07-13 07:53:16 +00:00
parent a60470b58b
commit 28133d0e07
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ class PluginDlg:
self.dialog.set_icon_from_file(common.get_pixmap("deluge32.png"))
self.view = self.glade.get_widget("plugin_view")
self.store = gtk.ListStore(str, bool)
self.store.set_sort_column_id(0, gtk.SORT_ASCENDING)
self.view.set_model(self.store)
try:
self.view.get_selection().set_select_function(self.plugin_clicked, full=True)