separator menu item
fluxgen fluxgen
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
src/Screen.cc
→
src/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;