diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-16 19:09:37 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-06-16 19:13:35 (GMT) |
commit | abe30f34b20970420b09a3b02ea98444d39afc94 (patch) | |
tree | 7aaf91f299301718f07cdac5be4e4b9b0122dab4 /src/ClockTool.cc | |
parent | 76af1583937dbf0321fe607954abbd97c266b395 (diff) | |
download | fluxbox_pavel-abe30f34b20970420b09a3b02ea98444d39afc94.zip fluxbox_pavel-abe30f34b20970420b09a3b02ea98444d39afc94.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.cc | 2 |
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)); |