From 75aa6b241aa6cf88a69e058968c2bdadc7547258 Mon Sep 17 00:00:00 2001 From: Jim Norman Date: Wed, 19 Oct 2005 15:54:47 +0000 Subject: [PATCH] On linkDialog, display value as ****** --- c_gui/MiCasa.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/c_gui/MiCasa.cs b/c_gui/MiCasa.cs index d187b20c..ff5a4acd 100644 --- a/c_gui/MiCasa.cs +++ b/c_gui/MiCasa.cs @@ -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);