aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-13 20:04:24 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-13 20:04:24 (GMT)
commitdeb6a1ebf43f458b720abbc6a7180e9a8e04771a (patch)
treeecff64e1eb70e43ff15b93de2f98953cfadd0067 /src/SystemTray.cc
parentf6af17aa58701cdb579cca52ac83edf289e118e7 (diff)
downloadfluxbox_pavel-deb6a1ebf43f458b720abbc6a7180e9a8e04771a.zip
fluxbox_pavel-deb6a1ebf43f458b720abbc6a7180e9a8e04771a.tar.bz2
code simplification
we do not need a std::map just to store an attribute on an AtomHandler, it makes housekeeping just more annoying.
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r--src/SystemTray.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc
index 73d8c0d..c145351 100644
--- a/src/SystemTray.cc
+++ b/src/SystemTray.cc
@@ -195,7 +195,8 @@ SystemTray::SystemTray(const FbTk::FbWindow& parent,
195 195
196 m_handler.reset(new SystemTrayHandler(*this)); 196 m_handler.reset(new SystemTrayHandler(*this));
197 197
198 fluxbox->addAtomHandler(m_handler.get(), atom_name); 198 m_handler.get()->setName(atom_name);
199 fluxbox->addAtomHandler(m_handler.get());
199 200
200 201
201 // send selection owner msg 202 // send selection owner msg