Commit 3f89fafb authored by Yann Leboulanger's avatar Yann Leboulanger

make the choose_gpg_key working

parent b74fdf1c
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment