Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5397a8ad
Kaydet (Commit)
5397a8ad
authored
May 25, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#90127: Read icon theme from the config when called too early.
Change-Id: I9999150cafde6b103cf1a80232113b7a3d11cfdb
üst
02fe9b00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
settings.cxx
vcl/source/app/settings.cxx
+13
-0
No files found.
vcl/source/app/settings.cxx
Dosyayı görüntüle @
5397a8ad
...
@@ -3026,6 +3026,19 @@ StyleSettings::SetIconTheme(const OUString& theme)
...
@@ -3026,6 +3026,19 @@ StyleSettings::SetIconTheme(const OUString& theme)
OUString
OUString
StyleSettings
::
DetermineIconTheme
()
const
StyleSettings
::
DetermineIconTheme
()
const
{
{
if
(
mxData
->
mIconTheme
.
isEmpty
())
{
// read from the configuration, or fallback to what the desktop wants
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
(
comphelper
::
getProcessComponentContext
());
if
(
xContext
.
is
())
{
mxData
->
mIconTheme
=
officecfg
::
Office
::
Common
::
Misc
::
SymbolStyle
::
get
(
xContext
);
if
(
mxData
->
mIconTheme
.
isEmpty
()
||
mxData
->
mIconTheme
==
"auto"
)
mxData
->
mIconTheme
=
GetAutomaticallyChosenIconTheme
();
}
}
OUString
r
=
mxData
->
mIconThemeSelector
->
SelectIconTheme
(
OUString
r
=
mxData
->
mIconThemeSelector
->
SelectIconTheme
(
mxData
->
mIconThemeScanner
->
GetFoundIconThemes
(),
mxData
->
mIconThemeScanner
->
GetFoundIconThemes
(),
mxData
->
mIconTheme
mxData
->
mIconTheme
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment