[Libreoffice-commits] core.git: cui/source
Caolán McNamara
caolanm at redhat.com
Fri Feb 21 09:25:19 PST 2014
cui/source/options/optgdlg.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c8ed5991709725d7cade48a99a09cc26243f4b95
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 17:01:46 2014 +0000
restore translatable Auto text
Change-Id: I379c48615f2934d451bf12c1b1005cc98e2e7d4f
Reviewed-on: https://gerrit.libreoffice.org/8162
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 92fe1df..6b256d8 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -594,6 +594,7 @@ OfaViewTabPage::OfaViewTabPage(Window* pParent, const SfxItemSet& rSet)
}
// Set known icon themes
+ OUString sAutoStr( m_pIconStyleLB->GetEntry( 0 ) );
m_pIconStyleLB->Clear();
StyleSettings aStyleSettings = Application::GetSettings().GetStyleSettings();
mInstalledIconThemes = aStyleSettings.GetInstalledIconThemes();
@@ -602,7 +603,7 @@ OfaViewTabPage::OfaViewTabPage(Window* pParent, const SfxItemSet& rSet)
OUString autoThemeId = aStyleSettings.GetAutomaticallyChosenIconTheme();
const vcl::IconThemeInfo& autoIconTheme = vcl::IconThemeInfo::FindIconThemeById(mInstalledIconThemes, autoThemeId);
- OUString entryForAuto = OUString("Auto (") +
+ OUString entryForAuto = sAutoStr + OUString(" (") +
autoIconTheme.GetDisplayName() +
OUString(")");
m_pIconStyleLB->InsertEntry(entryForAuto);
More information about the Libreoffice-commits
mailing list