aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 18a4c31..8b03749 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.74 2003/07/23 10:42:12 fluxgen Exp $ 25// $Id: Slit.cc,v 1.75 2003/07/25 10:03:55 rathnor Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -315,6 +315,10 @@ Slit::Slit(BScreen &scr, FbTk::XLayer &layer, const char *filename)
315 m_layeritem.reset(new FbTk::XLayerItem(frame.window, layer)); 315 m_layeritem.reset(new FbTk::XLayerItem(frame.window, layer));
316 moveToLayer((*m_rc_layernum).getNum()); 316 moveToLayer((*m_rc_layernum).getNum());
317 317
318 // TODO: nls
319 if (m_layermenu.get())
320 m_layermenu->setLabel("Slit Layer");
321
318 // Get client list for sorting purposes 322 // Get client list for sorting purposes
319 loadClientList(filename); 323 loadClientList(filename);
320 324
@@ -1219,12 +1223,14 @@ void Slit::setupMenu() {
1219 1223
1220#ifdef XINERAMA 1224#ifdef XINERAMA
1221 if (screen().hasXinerama()) { 1225 if (screen().hasXinerama()) {
1226 // TODO: nls (main label, plus menu heading)
1222 m_slitmenu.insert("On Head...", new XineramaHeadMenu<Slit>( 1227 m_slitmenu.insert("On Head...", new XineramaHeadMenu<Slit>(
1223 *screen().menuTheme(), 1228 *screen().menuTheme(),
1224 screen(), 1229 screen(),
1225 screen().imageControl(), 1230 screen().imageControl(),
1226 *screen().layerManager().getLayer(Fluxbox::instance()->getMenuLayer()), 1231 *screen().layerManager().getLayer(Fluxbox::instance()->getMenuLayer()),
1227 *this 1232 *this,
1233 "Slit on Head"
1228 )); 1234 ));
1229 } 1235 }
1230 1236