Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Fomin <fominde@gmail.com>2012-08-16 22:23:33 +0400
committerDenis Fomin <fominde@gmail.com>2012-08-16 22:23:33 +0400
commit1bf625345a2bc4737875aee7a61ae495786b3919 (patch)
tree78a4f4895a5d12c0d649f83497ac8b9cc6503a38 /plugin_installer
parent8aab76bc11ca4bf2820923f8d5a5041b1ab3160d (diff)
add icons
Diffstat (limited to 'plugin_installer')
-rw-r--r--plugin_installer/plugin_installer.py4
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: