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
6344b00e
Kaydet (Commit)
6344b00e
authored
Kas 22, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adapt some GetUILocale leftovers
Change-Id: I0400858249d4722a3b5583febd82200e62a64b20
üst
d98e8a22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+1
-1
salnativewidgets-kde.cxx
vcl/unx/kde/salnativewidgets-kde.cxx
+4
-4
KDESalFrame.cxx
vcl/unx/kde4/KDESalFrame.cxx
+5
-5
No files found.
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
6344b00e
...
@@ -1304,7 +1304,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
...
@@ -1304,7 +1304,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
fprintf
(
stderr
,
"font name BEFORE system match:
\"
%s
\"\n
"
,
aFamily
.
getStr
()
);
fprintf
(
stderr
,
"font name BEFORE system match:
\"
%s
\"\n
"
,
aFamily
.
getStr
()
);
// match font to e.g. resolve "Sans"
// match font to e.g. resolve "Sans"
psp
::
PrintFontManager
::
get
().
matchFont
(
aInfo
,
rSettings
.
GetUILocale
()
);
psp
::
PrintFontManager
::
get
().
matchFont
(
aInfo
,
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
fprintf
(
stderr
,
"font match %s, name AFTER:
\"
%s
\"\n
"
,
fprintf
(
stderr
,
"font match %s, name AFTER:
\"
%s
\"\n
"
,
aInfo
.
m_nID
!=
0
?
"succeeded"
:
"failed"
,
aInfo
.
m_nID
!=
0
?
"succeeded"
:
"failed"
,
rtl
::
OUStringToOString
(
aInfo
.
m_aStyleName
,
RTL_TEXTENCODING_ISO_8859_1
).
getStr
()
);
rtl
::
OUStringToOString
(
aInfo
.
m_aStyleName
,
RTL_TEXTENCODING_ISO_8859_1
).
getStr
()
);
...
...
vcl/unx/kde/salnativewidgets-kde.cxx
Dosyayı görüntüle @
6344b00e
...
@@ -1873,7 +1873,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -1873,7 +1873,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
pKey
=
"titleFont"
;
pKey
=
"titleFont"
;
if
(
pConfig
->
hasKey
(
pKey
)
)
if
(
pConfig
->
hasKey
(
pKey
)
)
{
{
Font
aFont
=
toFont
(
pConfig
->
readFontEntry
(
pKey
),
rSettings
.
GetUILocale
()
);
Font
aFont
=
toFont
(
pConfig
->
readFontEntry
(
pKey
),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
aStyleSettings
.
SetTitleFont
(
aFont
);
aStyleSettings
.
SetTitleFont
(
aFont
);
bSetTitleFont
=
true
;
bSetTitleFont
=
true
;
}
}
...
@@ -1934,7 +1934,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -1934,7 +1934,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings
.
SetHighlightTextColor
(
toColor
(
qColorGroup
.
highlightedText
()
)
);
aStyleSettings
.
SetHighlightTextColor
(
toColor
(
qColorGroup
.
highlightedText
()
)
);
// Font
// Font
Font
aFont
=
toFont
(
kapp
->
font
(),
rSettings
.
GetUILocale
()
);
Font
aFont
=
toFont
(
kapp
->
font
(),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
aStyleSettings
.
SetAppFont
(
aFont
);
aStyleSettings
.
SetAppFont
(
aFont
);
aStyleSettings
.
SetHelpFont
(
aFont
);
aStyleSettings
.
SetHelpFont
(
aFont
);
...
@@ -2005,7 +2005,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -2005,7 +2005,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
ImplGetSVData
()
->
maNWFData
.
maMenuBarHighlightTextColor
=
aMenuFore
;
ImplGetSVData
()
->
maNWFData
.
maMenuBarHighlightTextColor
=
aMenuFore
;
// Font
// Font
aFont
=
toFont
(
pMenuBar
->
font
(),
rSettings
.
GetUILocale
()
);
aFont
=
toFont
(
pMenuBar
->
font
(),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
aStyleSettings
.
SetMenuFont
(
aFont
);
aStyleSettings
.
SetMenuFont
(
aFont
);
}
}
...
@@ -2013,7 +2013,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -2013,7 +2013,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
KToolBar
*
pToolBar
=
qMainWindow
.
toolBar
();
KToolBar
*
pToolBar
=
qMainWindow
.
toolBar
();
if
(
pToolBar
)
if
(
pToolBar
)
{
{
aFont
=
toFont
(
pToolBar
->
font
(),
rSettings
.
GetUILocale
()
);
aFont
=
toFont
(
pToolBar
->
font
(),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
aStyleSettings
.
SetToolFont
(
aFont
);
aStyleSettings
.
SetToolFont
(
aFont
);
}
}
...
...
vcl/unx/kde4/KDESalFrame.cxx
Dosyayı görüntüle @
6344b00e
...
@@ -192,7 +192,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -192,7 +192,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
pKey
=
"titleFont"
;
pKey
=
"titleFont"
;
if
(
aGroup
.
hasKey
(
pKey
)
)
if
(
aGroup
.
hasKey
(
pKey
)
)
{
{
Font
aFont
=
toFont
(
aGroup
.
readEntry
(
pKey
,
QFont
()
),
rSettings
.
GetUILocale
()
);
Font
aFont
=
toFont
(
aGroup
.
readEntry
(
pKey
,
QFont
()
),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
style
.
SetTitleFont
(
aFont
);
style
.
SetTitleFont
(
aFont
);
bSetTitleFont
=
true
;
bSetTitleFont
=
true
;
}
}
...
@@ -207,7 +207,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -207,7 +207,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
pKey
=
"toolbarFont"
;
pKey
=
"toolbarFont"
;
if
(
aGroup
.
hasKey
(
pKey
)
)
if
(
aGroup
.
hasKey
(
pKey
)
)
{
{
Font
aFont
=
toFont
(
aGroup
.
readEntry
(
pKey
,
QFont
()
),
rSettings
.
GetUILocale
()
);
Font
aFont
=
toFont
(
aGroup
.
readEntry
(
pKey
,
QFont
()
),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
style
.
SetToolFont
(
aFont
);
style
.
SetToolFont
(
aFont
);
}
}
}
}
...
@@ -263,7 +263,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -263,7 +263,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
style
.
SetHelpTextColor
(
toColor
(
QToolTip
::
palette
().
color
(
QPalette
::
Active
,
QPalette
::
ToolTipText
)));
style
.
SetHelpTextColor
(
toColor
(
QToolTip
::
palette
().
color
(
QPalette
::
Active
,
QPalette
::
ToolTipText
)));
// Font
// Font
Font
aFont
=
toFont
(
kapp
->
font
(),
rSettings
.
GetUILocale
()
);
Font
aFont
=
toFont
(
kapp
->
font
(),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
style
.
SetAppFont
(
aFont
);
style
.
SetAppFont
(
aFont
);
...
@@ -284,7 +284,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -284,7 +284,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
}
}
style
.
SetFloatTitleFont
(
aFont
);
style
.
SetFloatTitleFont
(
aFont
);
style
.
SetHelpFont
(
toFont
(
QToolTip
::
font
(),
rSettings
.
GetUILocale
()));
style
.
SetHelpFont
(
toFont
(
QToolTip
::
font
(),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()));
int
flash_time
=
QApplication
::
cursorFlashTime
();
int
flash_time
=
QApplication
::
cursorFlashTime
();
style
.
SetCursorBlinkTime
(
flash_time
!=
0
?
flash_time
/
2
:
STYLE_CURSOR_NOBLINKTIME
);
style
.
SetCursorBlinkTime
(
flash_time
!=
0
?
flash_time
/
2
:
STYLE_CURSOR_NOBLINKTIME
);
...
@@ -320,7 +320,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
...
@@ -320,7 +320,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
ImplGetSVData
()
->
maNWFData
.
maMenuBarHighlightTextColor
=
aMenuFore
;
ImplGetSVData
()
->
maNWFData
.
maMenuBarHighlightTextColor
=
aMenuFore
;
// Font
// Font
aFont
=
toFont
(
pMenuBar
->
font
(),
rSettings
.
GetUILocale
()
);
aFont
=
toFont
(
pMenuBar
->
font
(),
rSettings
.
GetUIL
anguageTag
().
getL
ocale
()
);
style
.
SetMenuFont
(
aFont
);
style
.
SetMenuFont
(
aFont
);
}
}
...
...
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