This commit is contained in:
smanojna 2006-02-14 14:31:59 +00:00
parent 7ea0c756ca
commit f17d5ae0de
2 changed files with 4 additions and 4 deletions

View File

@ -1161,8 +1161,8 @@ namespace Novell.CASA.GUI
checkbuttonGnomeKeyring.Active=Common.IS_GNOMEKEYRING; checkbuttonGnomeKeyring.Active=Common.IS_GNOMEKEYRING;
checkbuttonKdeWallet.Active=Common.IS_KDEWALLET; checkbuttonKdeWallet.Active=Common.IS_KDEWALLET;
checkbuttonGnomeKeyring.Sensitive=Common.IS_KDEWALLET_AVAILABLE; checkbuttonKdeWallet.Sensitive=Common.IS_KDEWALLET_AVAILABLE;
checkbuttonKdeWallet.Sensitive=Common.IS_GNOMEKEYRING_AVAILABLE; checkbuttonGnomeKeyring.Sensitive=Common.IS_GNOMEKEYRING_AVAILABLE;
if (Common.IS_WINDOWS) if (Common.IS_WINDOWS)
{ {

View File

@ -81,14 +81,14 @@ namespace Novell.CASA.GUI {
while( enumerator.MoveNext() ) while( enumerator.MoveNext() )
{ {
if( ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName.Equals(Common.STORENAME_KDEWALLET)) if( ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName.Equals(Common.STORENAME_KDEWALLET) && Common.IS_KDEWALLET_AVAILABLE)
{ {
Common.IS_KDEWALLET = true; Common.IS_KDEWALLET = true;
storeNameKwallet = ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName; storeNameKwallet = ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName;
storeIdKwallet[kWalletStoreCounter++] = ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreId; storeIdKwallet[kWalletStoreCounter++] = ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreId;
Logger.DbgLog("GUI:StorePolicyInterface.Init() - miCASA policy = " + Common.IS_MICASA); Logger.DbgLog("GUI:StorePolicyInterface.Init() - miCASA policy = " + Common.IS_MICASA);
} }
else if(((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName.Equals(Common.STORENAME_GNOMEKEYRING)) else if(((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName.Equals(Common.STORENAME_GNOMEKEYRING) && Common.IS_GNOMEKEYRING_AVAILABLE)
{ {
Common.IS_GNOMEKEYRING=true; Common.IS_GNOMEKEYRING=true;
storeNameGkeyring=((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName; storeNameGkeyring=((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName;