aboutsummaryrefslogtreecommitdiff
path: root/src/RootTheme.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-02-14 12:46:29 (GMT)
committersimonb <simonb>2006-02-14 12:46:29 (GMT)
commit9b9f34d9464ce780c7d8e9b96523f7349c898afb (patch)
tree7c201b2eec3067afd137037158c05dac2bb61c4a /src/RootTheme.cc
parent71f3b0af9c33f103577f3634d4f29ccf797e7537 (diff)
downloadfluxbox-9b9f34d9464ce780c7d8e9b96523f7349c898afb.zip
fluxbox-9b9f34d9464ce780c7d8e9b96523f7349c898afb.tar.bz2
fix nls compilation (committed on akira's behalf)
Diffstat (limited to 'src/RootTheme.cc')
-rw-r--r--src/RootTheme.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/RootTheme.cc b/src/RootTheme.cc
index f200918..3802874 100644
--- a/src/RootTheme.cc
+++ b/src/RootTheme.cc
@@ -136,6 +136,8 @@ bool RootTheme::fallback(FbTk::ThemeItem_base &item) {
136} 136}
137 137
138void RootTheme::reconfigTheme() { 138void RootTheme::reconfigTheme() {
139 _FB_USES_NLS;
140
139 if (m_lock) 141 if (m_lock)
140 return; 142 return;
141 143
@@ -164,7 +166,7 @@ void RootTheme::reconfigTheme() {
164 FbTk::FbPixmap root(FbTk::FbPixmap::getRootPixmap(screenNum(), true)); 166 FbTk::FbPixmap root(FbTk::FbPixmap::getRootPixmap(screenNum(), true));
165 167
166 // render text 168 // render text
167 static const char warning_msg[] = 169 static const char *warning_msg =
168 _FBTEXT(Common, BackgroundWarning, 170 _FBTEXT(Common, BackgroundWarning,
169 "There is no background option specified in this style." 171 "There is no background option specified in this style."
170 " Please consult the manual or read the FAQ.", 172 " Please consult the manual or read the FAQ.",
@@ -188,8 +190,6 @@ void RootTheme::reconfigTheme() {
188 } 190 }
189 191
190 192
191 _FB_USES_NLS;
192
193 FbTk::GContext gc(root); 193 FbTk::GContext gc(root);
194 // fill rectangle 194 // fill rectangle
195 gc.setForeground(FbTk::Color("black", screenNum())); 195 gc.setForeground(FbTk::Color("black", screenNum()));