This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user