[banshee/gtk3] EqualizerWindow: Don't do any custom drawing
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gtk3] EqualizerWindow: Don't do any custom drawing
- Date: Sat, 17 Dec 2011 14:29:09 +0000 (UTC)
commit 93b5298af4e400bcc5dfa11d456c5e5bec917528
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sat Dec 17 14:35:21 2011 +0100
EqualizerWindow: Don't do any custom drawing
Drop the empty OnDrawn override, and don't set the windows as app
paintable. This fixes the background of the resize grip.
.../Banshee.Equalizer.Gui/EqualizerWindow.cs | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerWindow.cs b/src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerWindow.cs
index ea7c923..dd675d3 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerWindow.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerWindow.cs
@@ -61,7 +61,6 @@ namespace Banshee.Equalizer.Gui
TypeHint = Gdk.WindowTypeHint.Dialog;
SkipPagerHint = true;
SkipTaskbarHint = true;
- AppPaintable = true;
SetDefaultSize (-1, 180);
@@ -135,13 +134,6 @@ namespace Banshee.Equalizer.Gui
base.OnDestroyed ();
}
- protected override bool OnDrawn (Cairo.Context cr)
- {
- // FIXME: Check that this is not needed, background should already be painted
- //GdkWindow.DrawRectangle (Style.BackgroundGC (StateType.Active), true, header_box.Allocation);
- return base.OnDrawn (cr);
- }
-
private void OnNewPreset (object o, EventArgs args)
{
var eq = new EqualizerSetting (EqualizerManager.Instance, Catalog.GetString ("New Preset"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]