diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 17:01:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 17:24:56 +0000 |
commit | c8ed5991709725d7cade48a99a09cc26243f4b95 (patch) | |
tree | 125acb7ac37d664e1cd74c34066fda3149195562 /cui/source/options/optgdlg.cxx | |
parent | Bug #63962 Dynamically scan the config directory for icon themes (diff) | |
download | core-c8ed5991709725d7cade48a99a09cc26243f4b95.tar.gz core-c8ed5991709725d7cade48a99a09cc26243f4b95.zip |
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/source/options/optgdlg.cxx')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 3 |
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); |