~helene-verhaeghe27/cairo-dock-core/bugfix

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-class-manager.c

  • Committer: Fabrice Rey
  • Date: 2012-08-14 23:14:43 UTC
  • Revision ID: fabounet03@gmail.com-20120814231443-2kyo44au0jef5yrr
Taskbar: fixed a bug that inserted an extra separator when grouping applis togather in a sub-dock

Show diffs side-by-side

added added

removed removed

Lines of Context:
1388
1388
        g_return_if_fail (pClassAppli != NULL);
1389
1389
        
1390
1390
        // place the icon amongst the other appli icons of this class, or after the last appli if none.
1391
 
        pIcon->iGroup = CAIRO_DOCK_APPLI;
 
1391
        if (myTaskbarParam.bSeparateApplis)
 
1392
                pIcon->iGroup = CAIRO_DOCK_APPLI;
 
1393
        else
 
1394
                pIcon->iGroup = CAIRO_DOCK_LAUNCHER;
1392
1395
        Icon *pSameClassIcon = NULL;
1393
1396
        Icon *icon;
1394
1397
        GList *ic, *last_ic = NULL, *first_appli_ic = NULL;