all repos — fluxbox @ 76006e0ac9f36019d17686cd96f8369f2eb50e0d

custom fork of the fluxbox windowmanager

separator menu item
fluxgen fluxgen
commit

76006e0ac9f36019d17686cd96f8369f2eb50e0d

parent

be09e133786ebe6654c340a7eede8f936ca4f459

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,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: Screen.cc,v 1.257 2004/01/02 13:29:01 fluxgen Exp $ +// $Id: Screen.cc,v 1.258 2004/01/03 00:28:02 fluxgen Exp $ #include "Screen.hh"

@@ -2003,7 +2003,9 @@ "no menu label defined\n"));

cerr<<"Row: "<<row<<endl; } else menu.insert(str_label.c_str(), workspacemenu.get()); - } // end of workspaces + } else if (str_key == "separator") { + menu.insert("---"); //!! TODO: this will be better in the future + } else { // ok, if we didn't find any special menu item we try with command parser // we need to attach command with arguments so command parser can parse it string line = str_key + " " + str_cmd;