aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2005-06-23 03:07:25 (GMT)
committerfluxgen <fluxgen>2005-06-23 03:07:25 (GMT)
commit5373f6d840abaa49685c15fee2f411e77472a7da (patch)
tree46da25845eac32769bad85c264e4edf335cc1783 /src/Slit.cc
parent18cf5862495aa6f37110c90286bb6c315a145526 (diff)
downloadfluxbox-5373f6d840abaa49685c15fee2f411e77472a7da.zip
fluxbox-5373f6d840abaa49685c15fee2f411e77472a7da.tar.bz2
moved window menu from FluxboxWindow to BScreen
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index eb26320..6656dec 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -313,16 +313,18 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename)
313 } 313 }
314 314
315 m_layeritem.reset(new FbTk::XLayerItem(frame.window, layer)); 315 m_layeritem.reset(new FbTk::XLayerItem(frame.window, layer));
316 m_layermenu.reset(new LayerMenu<Slit>(scr.menuTheme(), 316
317 scr.imageControl(), 317 m_layermenu.reset(new LayerMenu(scr.menuTheme(),
318 *scr.layerManager(). 318 scr.imageControl(),
319 getLayer(Fluxbox::instance()->getMenuLayer()), 319 *scr.layerManager().
320 this, 320 getLayer(Fluxbox::instance()->getMenuLayer()),
321 true)); 321 this,
322 true));
323 m_layermenu->setLabel(_FBTEXT(Slit, Layer, "Slit Layer", "Title of Slit Layer Menu"));
324
322 moveToLayer((*m_rc_layernum).getNum()); 325 moveToLayer((*m_rc_layernum).getNum());
323 326
324 if (m_layermenu.get()) 327
325 m_layermenu->setLabel(_FBTEXT(Slit, Layer, "Slit Layer", "Title of Slit Layer Menu"));
326 328
327 // Get client list for sorting purposes 329 // Get client list for sorting purposes
328 loadClientList(filename); 330 loadClientList(filename);