fix nls compilation (committed on akira's behalf)

This commit is contained in:
simonb 2006-02-14 12:46:29 +00:00
parent 71f3b0af9c
commit 9b9f34d946
3 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day)
Changes for 0.9.15:
*06/02/14:
* Fix nls compilation (Mathias)
RootTheme.cc fbsetbg
*06/02/12:
* Fixed #bug #1417688, remember apps keeps incrementing vertical dimension (Henrik)
Remember.cc

View file

@ -49,6 +49,7 @@ enum {
CommonMaximizeOver = 16,
CommonSvnRevision = 17,
CommonVisible = 18,
CommonBackgroundWarning = 19,
ConfigmenuSet = 4,
ConfigmenuAntiAlias = 1,

View file

@ -136,6 +136,8 @@ bool RootTheme::fallback(FbTk::ThemeItem_base &item) {
}
void RootTheme::reconfigTheme() {
_FB_USES_NLS;
if (m_lock)
return;
@ -164,7 +166,7 @@ void RootTheme::reconfigTheme() {
FbTk::FbPixmap root(FbTk::FbPixmap::getRootPixmap(screenNum(), true));
// render text
static const char warning_msg[] =
static const char *warning_msg =
_FBTEXT(Common, BackgroundWarning,
"There is no background option specified in this style."
" Please consult the manual or read the FAQ.",
@ -188,8 +190,6 @@ void RootTheme::reconfigTheme() {
}
_FB_USES_NLS;
FbTk::GContext gc(root);
// fill rectangle
gc.setForeground(FbTk::Color("black", screenNum()));