~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to menus.c

  • Committer: Richard Levitte
  • Author(s): Claude Lecommandeur
  • Date: 2003-02-02 17:16:31 UTC
  • Revision ID: richard@levitte.org-20030202171631-ln4dm23ocdy35ymo
Tags: ctwm-3.5.2c
CTWM version 3.5.2c

Monotone-Parent: 507dd4c840d34807818ce79f9df45655c5d3b8ca
Monotone-Revision: a113d54145c9e7dd0149bc30427429882f15890d

Show diffs side-by-side

added added

removed removed

Lines of Context:
1509
1509
        func = (all || CurrentSelectedWorkspace) ? F_WINWARP : F_POPUP;
1510
1510
        for (i=0; i<WindowNameCount; i++)
1511
1511
        {
1512
 
            AddToMenu(menu, WindowNames[i]->name, (char *)WindowNames[i],
 
1512
            char *name;
 
1513
            name = WindowNames[i]->name;
 
1514
#ifdef CLAUDE
 
1515
            if ((strlen (name) > 11) &&
 
1516
                (strncmp (name, "Netscape: ", 10) == 0)) {
 
1517
                name += 10;
 
1518
            }    
 
1519
#endif
 
1520
            AddToMenu(menu, name, (char *)WindowNames[i],
1513
1521
                      NULL, func,NULL,NULL);
1514
1522
        }
1515
1523
        free(WindowNames);