summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 17:01:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 17:24:56 +0000
commitc8ed5991709725d7cade48a99a09cc26243f4b95 (patch)
tree125acb7ac37d664e1cd74c34066fda3149195562 /cui
parent076a7eacca48f203f0a8b9aa537e88fea9a88409 (diff)
restore translatable Auto text
Change-Id: I379c48615f2934d451bf12c1b1005cc98e2e7d4f Reviewed-on: https://gerrit.libreoffice.org/8162 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 92fe1dfdcf08..6b256d825a9b 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);