~psybers/docky/stacks

« back to all changes in this revision

Viewing changes to Docky/Docky/Menus/MenuFileWidget.cs

  • Committer: Robert Dyer
  • Date: 2010-06-08 08:17:48 UTC
  • Revision ID: psybers@gmail.com-20100608081748-g20fgla74fot0iwu
fix tooltips

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                
93
93
                protected override bool OnQueryTooltip (int x, int y, bool keyboard_tooltip, Tooltip tooltip)
94
94
                {
95
 
                        tooltip.Text = OwnedFile.Basename;
96
 
                        return base.OnQueryTooltip (x, y, keyboard_tooltip, tooltip);
 
95
                        if (IsSelected)
 
96
                                tooltip.Text = OwnedFile.Basename;
 
97
                        return true;
97
98
                }
98
99
                
99
100
                protected override bool OnLeaveNotifyEvent (EventCrossing evnt)