diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-03-19 19:20:24 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-03-19 19:20:24 +0100 |
commit | c71eb88a08616d55a70574fe5fbd118460e129ac (patch) | |
tree | db64da5d67a39f1a4a01e3dfa7dff983337987bb /padmin | |
parent | vcl110: #i110219# remove unnecessary beep (diff) | |
download | core-c71eb88a08616d55a70574fe5fbd118460e129ac.tar.gz core-c71eb88a08616d55a70574fe5fbd118460e129ac.zip |
vcl110: #i93672# hide fonts button in fontconfig case
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/padialog.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx index 3ea15e28141c..583e14c06caa 100644 --- a/padmin/source/padialog.cxx +++ b/padmin/source/padialog.cxx @@ -147,6 +147,11 @@ void PADialog::Init() ::psp::PrintFontManager& rFontManager( ::psp::PrintFontManager::get() ); if( ! rFontManager.checkImportPossible() ) m_aFontsPB.Enable( FALSE ); + if( rFontManager.hasFontconfig() ) + { + m_aFontsPB.Enable( FALSE ); + m_aFontsPB.Show( FALSE ); + } } PADialog::~PADialog() |