GPG keys are now sorted alphabetically

This commit is contained in:
Yann Leboulanger 2005-10-22 08:52:13 +00:00
parent a5418e8d07
commit e8a3b670f6
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ class ChooseGPGKeyDialog:
prompt_label = xml.get_widget('prompt_label')
prompt_label.set_text(prompt_text)
model = gtk.ListStore(str, str)
model.set_sort_column_id(1, gtk.SORT_ASCENDING)
self.keys_treeview.set_model(model)
#columns
renderer = gtk.CellRendererText()