summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 11:47:49 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 11:47:49 +0000
commit3e0c0ad4a5fd361963b968e126e6a7f4b76d77d0 (patch)
tree4078c10f4003846f1baa3e8a589e9909cd22b8c7 /basic
parente9a1beef4e9a7bd2d4211b69f4b0a31c021c95d5 (diff)
INTEGRATION: CWS gh15 (1.36.8); FILE MERGED
2008/04/24 11:09:07 gh 1.36.8.1: #i85772#initially disable button and marking the OOProgramDir as Path
Diffstat (limited to 'basic')
-rw-r--r--basic/source/app/dialogs.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/basic/source/app/dialogs.cxx b/basic/source/app/dialogs.cxx
index a92a132855..05442f9b28 100644
--- a/basic/source/app/dialogs.cxx
+++ b/basic/source/app/dialogs.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dialogs.cxx,v $
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
* This file is part of OpenOffice.org.
*
@@ -671,7 +671,8 @@ void MiscOptions::Save( Config &aConfig )
aConfig.WriteKey( "MaxLRU", ByteString::CreateFromInt64( aTFMaxLRU.GetValue() ) );
aConfig.SetGroup("OOoProgramDir");
- aConfig.WriteKey( "Current", ByteString( aEDProgDir.GetText(), RTL_TEXTENCODING_UTF8 ) );
+ aConfig.WriteKey( C_KEY_AKTUELL, ByteString( aEDProgDir.GetText(), RTL_TEXTENCODING_UTF8 ) );
+ aConfig.WriteKey( C_KEY_TYPE, ByteString( "PATH" ) );
}
@@ -844,6 +845,7 @@ void GenericOptions::ShowSelectPath( const String aType )
nMoveButtons += nDelta;
aMoveTimer.Start();
bShowSelectPath = TRUE;
+ aPbSelectPath.Show( TRUE );
aPbSelectPath.Enable( TRUE );
}
else if ( !aType.EqualsIgnoreCaseAscii( "PATH" ) && bShowSelectPath )
@@ -860,7 +862,7 @@ IMPL_LINK( GenericOptions, MoveButtons, AutoTimer*, aTimer )
if ( nMoveButtons == 0 )
{
aTimer->Stop();
-// aPbSelectPath.Enable( bShowSelectPath );
+ aPbSelectPath.Show( bShowSelectPath );
return 0;
}