Bug 172730. Check the GNOME_KEYRING_SOCKET variable before displaying
the Gnome Keyring tab and settings.
This commit is contained in:
parent
0adc2a2d28
commit
5b267c79e5
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 23 14:50:58 MST 2007 - jnorman@novell.com
|
||||||
|
|
||||||
|
- Bug 172730. Check the GNOME_KEYRING_SOCKET environment variable
|
||||||
|
before displaying the gnome tab and setting.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 23 14:25:13 MST 2007 - jnorman@novell.com
|
Tue Jan 23 14:25:13 MST 2007 - jnorman@novell.com
|
||||||
|
|
||||||
|
@ -297,6 +297,13 @@ namespace Novell.CASA.DataEngines
|
|||||||
|
|
||||||
public static Boolean IsStoreAvailable()
|
public static Boolean IsStoreAvailable()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
string sIsSocketDefined = Environment.GetEnvironmentVariable("GNOME_KEYRING_SOCKET");
|
||||||
|
if ((sIsSocketDefined == null) || (sIsSocketDefined.Length < 1))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
System.Runtime.InteropServices.Marshal.PrelinkAll(typeof(GnomeKeyring));
|
System.Runtime.InteropServices.Marshal.PrelinkAll(typeof(GnomeKeyring));
|
||||||
|
Loading…
Reference in New Issue
Block a user