On linkDialog, display value as ******

This commit is contained in:
Jim Norman 2005-10-19 15:54:47 +00:00
parent 4b4cf4b64a
commit 75aa6b241a

View File

@ -898,6 +898,9 @@ public class MiCasa : Store
{
Glade.XML gxmlTemp = new Glade.XML (Common.GladeFile, "dialogLinkKeyValue", null);
gxmlTemp.Autoconnect (this);
dialogLinkKeyValue.TransientFor = (Gtk.Window)CasaMain.gxml.GetWidget("dialogNewSecret");
dialogLinkKeyValue.Modal = true;
// show MICASA tab only
(notebook2.GetNthPage(Common.STORE_MICASA)).Visible = true;
@ -943,7 +946,9 @@ public class MiCasa : Store
// display info on this secret
labelLinkSecretID.Text = entrySecretID.Text;
labelLinkKeyID.Text = selected;
entryLinkValue.Text = secret.getKeyValue(selected);
//entryLinkValue.Text = secret.getKeyValue(selected);
entryLinkValue.Sensitive = false;
entryLinkValue.Text = "********";
entryLinkValue.Changed +=new EventHandler(entryLinkValue_Changed);
entryLinkValue.LeaveNotifyEvent +=new LeaveNotifyEventHandler(entryLinkValue_LeaveNotifyEvent);