Bug 143891. Sort SecretIDs on Link dialog.

This commit is contained in:
Jim Norman 2006-01-18 23:13:33 +00:00
parent bf2ce71f10
commit ee5624f8f2
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 18 16:12:34 MST 2006 - jnorman@novell.com
- Bug 143891. Sort SecretIDs on Link dialog.
-------------------------------------------------------------------
Fri Jan 13 15:02:34 MST 2006 - jnorman@novell.com

View File

@ -944,10 +944,13 @@ public class MiCasa : Store
(notebook2.GetNthPage(Common.STORE_GNOMEKEYRING)).Visible = false;
// show available secrets
tsAvailableSecrets=new TreeStore(typeof(string),typeof(string));
tvAvailableSecrets.AppendColumn("Secret-ID",new CellRendererText(),"text",0);
tsAvailableSecrets=new TreeStore(typeof(string),typeof(string));
tsAvailableSecrets.SetSortColumnId(0, Gtk.SortType.Ascending);
tvAvailableSecrets.AppendColumn("Secret-ID",new CellRendererText(),"text",0);
tvAvailableSecrets.Model=tsAvailableSecrets;
tvAvailableSecrets.ButtonReleaseEvent +=new ButtonReleaseEventHandler(tvAvailableSecrets_ButtonReleaseEvent);
// show secretIDs
SecretStore ss = GetMiCasaStore();
StringCollection sc = ss.enumerateSecretIDs();