aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-01-13 15:27:53 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-01-13 15:27:53 (GMT)
commitaccb8c3fa34b67ff59ecc2ea791eb10e1dcb90fc (patch)
tree15d751ee4e7ea3eb0a63ebdfe87a28897ec7c7a7
parent9e17a0d6d7cb45751df481fc6760afa0273d7fcf (diff)
downloadfluxbox-accb8c3fa34b67ff59ecc2ea791eb10e1dcb90fc.zip
fluxbox-accb8c3fa34b67ff59ecc2ea791eb10e1dcb90fc.tar.bz2
compile fix: missing symbol (SystemTray::getNetSystemTray()) when configured --disable-toolbar
-rw-r--r--src/Screen.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 9ec7130..9bf9711 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1209,7 +1209,10 @@ bool BScreen::addKdeDockapp(Window client) {
1209 FbTk::EventHandler *evh = 0; 1209 FbTk::EventHandler *evh = 0;
1210 FbTk::EventManager *evm = FbTk::EventManager::instance(); 1210 FbTk::EventManager *evm = FbTk::EventManager::instance();
1211 1211
1212 AtomHandler *handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber())); 1212 AtomHandler* handler = 0;
1213#if USE_TOOLBAR
1214 handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber()));
1215#endif
1213 if (handler == 0) { 1216 if (handler == 0) {
1214#ifdef SLIT 1217#ifdef SLIT
1215 if (slit() != 0 && slit()->acceptKdeDockapp()) 1218 if (slit() != 0 && slit()->acceptKdeDockapp())