~raof/do/throwaway-app-indicator

« back to all changes in this revision

Viewing changes to Do.Interface.Linux.Docky/src/Docky.Interface/DockArea_Rendering.cs

  • Committer: Robert Dyer
  • Date: 2009-08-31 01:35:40 UTC
  • Revision ID: rdyer@yamuna-20090831013540-zwvz9mhkacomfjze
Allow docklets to request attention.

Show diffs side-by-side

added added

removed removed

Lines of Context:
602
602
                                cr.Paint ();
603
603
                        }
604
604
                        
605
 
                        if (0 < dockItem.WindowCount) {
 
605
                        if (0 < dockItem.WindowCount || dockItem.NeedsAttention) {
606
606
                                Gdk.Point location;
607
607
                                switch (DockPreferences.Orientation) {
608
608
                                case DockOrientation.Bottom:
642
642
                        if (DockPreferences.IndicateMultipleWindows && 1 < numberOfWindows) {
643
643
                                DrawSingleIndicator (cr, location.RelativeMovePoint (3, RelativeMove.RelativeLeft), urgent);
644
644
                                DrawSingleIndicator (cr, location.RelativeMovePoint (3, RelativeMove.RelativeRight), urgent);
645
 
                        } else if (0 < numberOfWindows) {
 
645
                        } else if (0 < numberOfWindows || urgent) {
646
646
                                DrawSingleIndicator (cr, location, urgent);
647
647
                        }
648
648
                }