This commit is contained in:
smanojna
2006-02-14 12:46:09 +00:00
parent e6b7e92fc5
commit 7ea0c756ca
6 changed files with 78 additions and 69 deletions

View File

@@ -297,20 +297,17 @@ namespace Novell.CASA.DataEngines
{
try
{
System.Runtime.InteropServices.Marshal.PrelinkAll(typeof(GnomeKeyring));
//if (GnomeKeyring.IsGnomeKeyringInstalled())
return true;
//else
// return false;
System.Runtime.InteropServices.Marshal.PrelinkAll(typeof(GnomeKeyring));
return true;
}
catch(DllNotFoundException d)
{
Console.WriteLine("Store Not Available Exception = " + d.ToString());
//Console.WriteLine("Store Not Available Exception = " + d.ToString());
return false;
}
catch(Exception e)
{
Console.WriteLine("Store Not Available Exception = " + e.ToString());
//Console.WriteLine("Store Not Available Exception = " + e.ToString());
return false;
}
}

View File

@@ -462,12 +462,12 @@ namespace Novell.CASA.DataEngines
}
catch(DllNotFoundException d)
{
Console.WriteLine("Store Not Available Exception =" + d.ToString());
//Console.WriteLine("Store Not Available Exception =" + d.ToString());
return false;
}
catch(Exception e)
{
Console.WriteLine("Store Not Available Exception =" + e.ToString());
//Console.WriteLine("Store Not Available Exception =" + e.ToString());
return false;
}
}