aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-16 19:09:37 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:10:41 (GMT)
commit3b1abf8f8f812a9e97cc1b7f6fe95a1bf07d3246 (patch)
tree9e498bb21445968481fc71ab6059df6aa3877f65 /src/ClockTool.cc
parent75ad307a404e4e259a028f2dab73e1b370642318 (diff)
downloadfluxbox_paul-3b1abf8f8f812a9e97cc1b7f6fe95a1bf07d3246.zip
fluxbox_paul-3b1abf8f8f812a9e97cc1b7f6fe95a1bf07d3246.tar.bz2
Replace ResourceManager with the lua version
Loading of an init file with the new manager works ok. Saving and restarting is still not completed. This touches many files because i removed the alternative name of resources. Unlike Xrm, lua does not have native support for alt names. It should be fairly easy to add them, but I think that is unnecessary and would be confusing.
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r--src/ClockTool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc
index 95176a2..126e0dd 100644
--- a/src/ClockTool.cc
+++ b/src/ClockTool.cc
@@ -166,7 +166,7 @@ ClockTool::ClockTool(const FbTk::FbWindow &parent,
166 m_screen(screen), 166 m_screen(screen),
167 m_pixmap(0), 167 m_pixmap(0),
168 m_timeformat(screen.resourceManager(), std::string("%k:%M"), 168 m_timeformat(screen.resourceManager(), std::string("%k:%M"),
169 screen.name() + ".strftimeFormat", screen.altName() + ".StrftimeFormat"), 169 screen.name() + ".strftimeFormat"),
170 m_stringconvertor(FbTk::StringConvertor::ToFbString) { 170 m_stringconvertor(FbTk::StringConvertor::ToFbString) {
171 // attach signals 171 // attach signals
172 m_tracker.join(theme.reconfigSig(), FbTk::MemFun(*this, &ClockTool::themeReconfigured)); 172 m_tracker.join(theme.reconfigSig(), FbTk::MemFun(*this, &ClockTool::themeReconfigured));