aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-16 19:09:37 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:57:19 (GMT)
commite3feca08ce0f6753f7e71ccb9088cf9003d41fc2 (patch)
treeabf0dafc53405d67fdf5ccc285961a37603092d3 /src/ClockTool.cc
parent0e8a7bfb12e6d03ec288cd1fdd0a1453d5e814e1 (diff)
downloadfluxbox_pavel-e3feca08ce0f6753f7e71ccb9088cf9003d41fc2.zip
fluxbox_pavel-e3feca08ce0f6753f7e71ccb9088cf9003d41fc2.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));