diff options
author | Denis Fomin <fominde@gmail.com> | 2012-08-16 22:23:33 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2012-08-16 22:23:33 +0400 |
commit | 1bf625345a2bc4737875aee7a61ae495786b3919 (patch) | |
tree | 78a4f4895a5d12c0d649f83497ac8b9cc6503a38 /plugin_installer | |
parent | 8aab76bc11ca4bf2820923f8d5a5041b1ab3160d (diff) |
add icons
Diffstat (limited to 'plugin_installer')
-rw-r--r-- | plugin_installer/plugin_installer.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin_installer/plugin_installer.py b/plugin_installer/plugin_installer.py index d7f5189..b37d9bf 100644 --- a/plugin_installer/plugin_installer.py +++ b/plugin_installer/plugin_installer.py @@ -191,6 +191,7 @@ class PluginInstaller(GajimPlugin): gobject.TYPE_PYOBJECT, gobject.TYPE_PYOBJECT) self.available_treeview.set_model(self.available_plugins_model) self.available_treeview.set_rules_hint(True) + self.available_plugins_model.set_sort_column_id(2, gtk.SORT_ASCENDING) self.progressbar.set_property('no-show-all', True) renderer = gtk.CellRendererText() @@ -215,7 +216,8 @@ class PluginInstaller(GajimPlugin): renderer = gtk.CellRendererToggle() renderer.set_property('activatable', True) renderer.connect('toggled', self.available_plugins_toggled_cb) - col = gtk.TreeViewColumn(_('Install /\nUpgrade'), renderer, active=C_UPGRADE) + col = gtk.TreeViewColumn(_('Install /\nUpgrade'), renderer, + active=C_UPGRADE) self.available_treeview.append_column(col) if gobject.signal_lookup('error_signal', self.window) is 0: |