minor fix for separator in windowmenu
fluxgen fluxgen
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
src/MenuCreator.cc
→
src/MenuCreator.cc
@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: MenuCreator.cc,v 1.1 2004/05/02 20:59:29 fluxgen Exp $ +// $Id: MenuCreator.cc,v 1.2 2004/05/02 22:17:00 fluxgen Exp $ #include "MenuCreator.hh"@@ -413,7 +413,9 @@ *screen->layerManager().getLayer(Fluxbox::instance()->getMenuLayer()),
&win, false)); - } else + } else if (type == "separator") { + menu.insert("---"); + } else return false; #undef WINDOWNLS