Bug 133386 fixes
This commit is contained in:
parent
f7cc163293
commit
96b2637e43
@ -1158,9 +1158,9 @@ namespace Novell.CASA.GUI
|
||||
dialogPreferences.TransientFor = windowMain;
|
||||
checkbuttonFirefox.Active=Common.IS_FIREFOX;
|
||||
checkbuttonMozilla.Active=Common.IS_MOZILLA;
|
||||
checkbuttonGnomeKeyring.Active=Common.IS_GNOMEKEYRING;
|
||||
checkbuttonKdeWallet.Active=Common.IS_KDEWALLET;
|
||||
|
||||
checkbuttonGnomeKeyring.Active=checkbuttonGnomeKeyring.Sensitive=Common.IS_GNOMEKEYRING;
|
||||
checkbuttonKdeWallet.Active=checkbuttonKdeWallet.Sensitive=Common.IS_KDEWALLET;
|
||||
|
||||
if (Common.IS_WINDOWS)
|
||||
{
|
||||
checkbuttonGnomeKeyring.Sensitive = false;
|
||||
|
@ -26,6 +26,7 @@ namespace Novell.CASA.GUI {
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Novell.CASA.CASAPolicy;
|
||||
using Novell.CASA.DataEngines;
|
||||
using Novell.CASA;
|
||||
|
||||
|
||||
@ -77,14 +78,14 @@ namespace Novell.CASA.GUI {
|
||||
|
||||
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) && true == IsStoreAvailable(Common.STORENAME_KDEWALLET))
|
||||
{
|
||||
Common.IS_KDEWALLET = true;
|
||||
storeNameKwallet = ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName;
|
||||
storeIdKwallet[kWalletStoreCounter++] = ((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreId;
|
||||
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) && true == IsStoreAvailable(Common.STORENAME_GNOMEKEYRING))
|
||||
{
|
||||
Common.IS_GNOMEKEYRING=true;
|
||||
storeNameGkeyring=((Novell.CASA.CASAPolicy.Store)(enumerator.Current)).StoreName;
|
||||
|
Loading…
Reference in New Issue
Block a user