make the choose_gpg_key working
This commit is contained in:
parent
b74fdf1c8b
commit
3f89fafb44
2 changed files with 7 additions and 5 deletions
|
@ -100,7 +100,7 @@
|
|||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
|
|
|
@ -302,12 +302,14 @@ class ChooseGPGKeyDialog:
|
|||
self.keys_treeview.set_model(model)
|
||||
#columns
|
||||
renderer = Gtk.CellRendererText()
|
||||
col = self.keys_treeview.insert_column_with_attributes(-1, _('KeyID'),
|
||||
renderer, text=0)
|
||||
self.keys_treeview.insert_column_with_attributes(-1, _('KeyID'),
|
||||
renderer, text=0)
|
||||
col = self.keys_treeview.get_column(0)
|
||||
col.set_sort_column_id(0)
|
||||
renderer = Gtk.CellRendererText()
|
||||
col = self.keys_treeview.insert_column_with_attributes(-1,
|
||||
_('Contact name'), renderer, text=1)
|
||||
self.keys_treeview.insert_column_with_attributes(-1, _('Contact name'),
|
||||
renderer, text=1)
|
||||
col = self.keys_treeview.get_column(1)
|
||||
col.set_sort_column_id(1)
|
||||
self.keys_treeview.set_search_column(1)
|
||||
self.fill_tree(secret_keys, selected)
|
||||
|
|
Loading…
Add table
Reference in a new issue