This commit is contained in:
parent
17e87363f8
commit
61178ffecd
@ -1,3 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 8:40:35 MST 2006 - jnorman@novell.com
|
||||
- Bug 157218. Clear views on secrets when GUI is locked
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 29 19:40:35 IST 2006 - lsreevatsa@novell.com
|
||||
|
||||
|
@ -959,7 +959,7 @@ namespace Novell.CASA.GUI
|
||||
Common.ShowHelpUrl("RefreshStore.htm");
|
||||
}
|
||||
|
||||
internal void RefreshStores()
|
||||
internal void RefreshStores()
|
||||
{
|
||||
if( Common.IS_MICASA )
|
||||
objMiCasa.AggregateStore();
|
||||
@ -990,11 +990,29 @@ namespace Novell.CASA.GUI
|
||||
objKdeWallet.AggregateStore();
|
||||
|
||||
if( Common.IS_GNOMEKEYRING )
|
||||
objGnomeKeyring.AggregateStore();
|
||||
|
||||
objGnomeKeyring.AggregateStore();
|
||||
}
|
||||
|
||||
|
||||
internal void ClearViewOnStores()
|
||||
{
|
||||
if( Common.IS_MICASA )
|
||||
objMiCasa.ClearViewOnStore();
|
||||
|
||||
if( Common.IS_FIREFOX )
|
||||
{
|
||||
objFirefox.ClearViewOnStore();
|
||||
}
|
||||
|
||||
if( Common.IS_MOZILLA )
|
||||
objMozilla.ClearViewOnStore();
|
||||
|
||||
if( Common.IS_KDEWALLET )
|
||||
objKdeWallet.ClearViewOnStore();
|
||||
|
||||
if( Common.IS_GNOMEKEYRING )
|
||||
objGnomeKeyring.ClearViewOnStore();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ********************************************************************
|
||||
@ -1102,6 +1120,7 @@ namespace Novell.CASA.GUI
|
||||
|
||||
internal void LockGUI()
|
||||
{
|
||||
ClearViewOnStores();
|
||||
notebookStores.Sensitive = false;
|
||||
mmiLockSecrets.Sensitive = false;
|
||||
mmiUnlockSecrets.Sensitive = true;
|
||||
|
@ -81,7 +81,7 @@ namespace Novell.CASA.GUI
|
||||
//MessageBox.Show("File 'notify.ico' cannot be found", "Error");
|
||||
//Console.WriteLine(e.ToString());
|
||||
//Console.WriteLine("File 'notify.ico' cannot be found");
|
||||
Logger.DbgLog("GUI:CasaTray.Setup() EXCEPTION: \n"e.ToString());
|
||||
Logger.DbgLog("GUI:CasaTray.Setup() EXCEPTION: \n" + e.ToString());
|
||||
Logger.DbgLog("GUI:CasaTray.Setup(): File 'notify.ico' cannot be found");
|
||||
return;
|
||||
}
|
||||
|
@ -261,7 +261,7 @@ namespace Novell.CASA.GUI
|
||||
sk1.Close();
|
||||
//ShowErrorMessage(e, "Reading registry " + KeyName.ToUpper());
|
||||
//Console.Write(e.ToString());
|
||||
Logger.DbgLog("GUI:CommonGUI.WriteRegKey EXCEPTION: \n"e.ToString());
|
||||
Logger.DbgLog("GUI:CommonGUI.WriteRegKey EXCEPTION: \n" + e.ToString());
|
||||
//return null;
|
||||
}
|
||||
}
|
||||
|
@ -142,6 +142,13 @@ public class Firefox : Store
|
||||
Logger.DbgLog("GUI:Firefox.AggregateStore() - END");
|
||||
}
|
||||
|
||||
|
||||
public override void ClearViewOnStore()
|
||||
{
|
||||
tsSecretIDFirefox.Clear();
|
||||
tsNativeInfoFirefox.Clear();
|
||||
}
|
||||
|
||||
///#######################################################################
|
||||
/// DISPLAY NATIVE INFO
|
||||
/// <summary>
|
||||
|
@ -169,6 +169,11 @@ public class GnomeKeyring : Store
|
||||
}
|
||||
|
||||
|
||||
public override void ClearViewOnStore()
|
||||
{
|
||||
tsSecretIDGnomeKeyring.Clear();
|
||||
tsNativeInfoGnomeKeyring.Clear();
|
||||
}
|
||||
|
||||
///#######################################################################
|
||||
/// DISPLAY NATIVE INFO
|
||||
|
@ -166,8 +166,14 @@ public class KdeWallet : Store
|
||||
|
||||
Logger.DbgLog("GUI:KdeWallet.AggregateStore() - END");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public override void ClearViewOnStore()
|
||||
{
|
||||
tsSecretIDKdeWallet.Clear();
|
||||
tsNativeInfoKdeWallet.Clear();
|
||||
}
|
||||
|
||||
|
||||
///#######################################################################
|
||||
/// DISPLAY NATIVE INFO
|
||||
|
@ -161,6 +161,12 @@ public class MiCasa : Store
|
||||
|
||||
Logger.DbgLog("GUI:MiCasa.AggregateStore() - END");
|
||||
}
|
||||
|
||||
public override void ClearViewOnStore()
|
||||
{
|
||||
tsSecretIDMiCasa.Clear();
|
||||
tsNativeInfoMiCasa.Clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -31,6 +31,11 @@ public class Mozilla : Store
|
||||
public override void AggregateStore()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ClearViewOnStore()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ViewKeyValues()
|
||||
|
@ -36,6 +36,13 @@ public abstract class Store
|
||||
/// </summary>
|
||||
public abstract void AggregateStore();
|
||||
|
||||
///#######################################################################
|
||||
/// <summary>
|
||||
/// Clears the TreeStore object for the
|
||||
/// respective stores.
|
||||
/// </summary>
|
||||
public abstract void ClearViewOnStore();
|
||||
|
||||
|
||||
///#######################################################################
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user