summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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()));