Bug 143891. Sort SecretIDs on Link dialog.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user