diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 1e5d94d..1cec4d7 100644 --- a/src/Screen.cc +++ b/src/Screen.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: Screen.cc,v 1.257 2004/01/02 13:29:01 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.258 2004/01/03 00:28:02 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -2003,7 +2003,9 @@ bool BScreen::parseMenuFile(ifstream &file, FbTk::Menu &menu, int &row) { | |||
2003 | cerr<<"Row: "<<row<<endl; | 2003 | cerr<<"Row: "<<row<<endl; |
2004 | } else | 2004 | } else |
2005 | menu.insert(str_label.c_str(), workspacemenu.get()); | 2005 | menu.insert(str_label.c_str(), workspacemenu.get()); |
2006 | } // end of workspaces | 2006 | } else if (str_key == "separator") { |
2007 | menu.insert("---"); //!! TODO: this will be better in the future | ||
2008 | } | ||
2007 | else { // ok, if we didn't find any special menu item we try with command parser | 2009 | else { // ok, if we didn't find any special menu item we try with command parser |
2008 | // we need to attach command with arguments so command parser can parse it | 2010 | // we need to attach command with arguments so command parser can parse it |
2009 | string line = str_key + " " + str_cmd; | 2011 | string line = str_key + " " + str_cmd; |