diff options
author | Aaron Bockover <abockover@novell.com> | 2007-11-27 15:58:30 +0300 |
---|---|---|
committer | Aaron Bockover <abockover@novell.com> | 2007-11-27 15:58:30 +0300 |
commit | f6c3a7caa6dae20b380321a7fe42d4791fc425b8 (patch) | |
tree | 6f9f651056b4c2f06e8ca6f63714a8269a4dcf9e /Core | |
parent | 53b188a27fb91d00b4cb4c3b5b708053909b07bf (diff) |
2007-11-27 Aaron Bockover <abockover@novell.com>
* MonoDevelop.Components.DockToolbars/DockToolbar.cs: Override the
drawing of the background on toolbars to cover up the ugly border lines
svn path=/trunk/monodevelop/; revision=90308
Diffstat (limited to 'Core')
-rw-r--r-- | Core/src/MonoDevelop.Components/ChangeLog | 5 | ||||
-rw-r--r-- | Core/src/MonoDevelop.Components/MonoDevelop.Components.DockToolbars/DockToolbar.cs | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Core/src/MonoDevelop.Components/ChangeLog b/Core/src/MonoDevelop.Components/ChangeLog index c8cdcf7d84..643ba137ed 100644 --- a/Core/src/MonoDevelop.Components/ChangeLog +++ b/Core/src/MonoDevelop.Components/ChangeLog @@ -1,3 +1,8 @@ +2007-11-27 Aaron Bockover <abockover@novell.com> + + * MonoDevelop.Components.DockToolbars/DockToolbar.cs: Override the + drawing of the background on toolbars to cover up the ugly border lines + 2007-11-17 Lluis Sanchez Gual <lluis@novell.com> * MonoDevelop.Components.Commands.ExtensionNodes/ItemSetCodon.cs, diff --git a/Core/src/MonoDevelop.Components/MonoDevelop.Components.DockToolbars/DockToolbar.cs b/Core/src/MonoDevelop.Components/MonoDevelop.Components.DockToolbars/DockToolbar.cs index 3385c6b550..29dbdaadbe 100644 --- a/Core/src/MonoDevelop.Components/MonoDevelop.Components.DockToolbars/DockToolbar.cs +++ b/Core/src/MonoDevelop.Components/MonoDevelop.Components.DockToolbars/DockToolbar.cs @@ -237,6 +237,17 @@ namespace MonoDevelop.Components.DockToolbars return base.OnButtonReleaseEvent (e); } + protected override bool OnExposeEvent (EventExpose evnt) + { + GdkWindow.DrawRectangle (Style.BackgroundGC (State), true, Allocation); + + foreach (Widget child in Children) { + PropagateExpose (child, evnt); + } + + return true; + } + internal void ResetSize () { WidthRequest = -1; |