aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-05-02 22:17:00 (GMT)
committerfluxgen <fluxgen>2004-05-02 22:17:00 (GMT)
commit805f58193208bf65676bad624f83716c57109ace (patch)
tree883ed7960f766fbb6f5581ae4e53ca2da967bcd6 /src
parent5c4291ab123de52f8561395a25bbd23fa99c08ea (diff)
downloadfluxbox-805f58193208bf65676bad624f83716c57109ace.zip
fluxbox-805f58193208bf65676bad624f83716c57109ace.tar.bz2
minor fix for separator in windowmenu
Diffstat (limited to 'src')
-rw-r--r--src/MenuCreator.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index cdec5c7..b09d851 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: MenuCreator.cc,v 1.1 2004/05/02 20:59:29 fluxgen Exp $ 23// $Id: MenuCreator.cc,v 1.2 2004/05/02 22:17:00 fluxgen Exp $
24 24
25#include "MenuCreator.hh" 25#include "MenuCreator.hh"
26 26
@@ -413,7 +413,9 @@ bool MenuCreator::createWindowMenuItem(const std::string &type,
413 &win, 413 &win,
414 false)); 414 false));
415 415
416 } else 416 } else if (type == "separator") {
417 menu.insert("---");
418 } else
417 return false; 419 return false;
418#undef WINDOWNLS 420#undef WINDOWNLS
419 421