diff options
author | rathnor <rathnor> | 2003-07-25 10:03:55 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-07-25 10:03:55 (GMT) |
commit | ac7edef9ad73818435420479a0dfa9c5ed517a79 (patch) | |
tree | 4fd531858253a00bd36689153e6c83c65890df39 /src/Slit.cc | |
parent | 9ca1f367cb9eef78ee1871fe5b96298f8325d987 (diff) | |
download | fluxbox_pavel-ac7edef9ad73818435420479a0dfa9c5ed517a79.zip fluxbox_pavel-ac7edef9ad73818435420479a0dfa9c5ed517a79.tar.bz2 |
make sure all menus have titles, make -version go to stdout
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 10 |
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 | ||