[banshee] Revert "[X11NotificationAreaBox] Make the area transparent (bgo#588255)"



commit 7a738d15fd925034dcaa3c0bd72c7aa63a111fe4
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sat Mar 6 13:48:57 2010 -0800

    Revert "[X11NotificationAreaBox] Make the area transparent (bgo#588255)"
    
    This didn't actually fix the problem, it just broke the
    X11NotficationAreaBox, and so the fallback GtkStatusIcon one was used
    that doesn't have the problem.
    
    This reverts commit 7b4be9f88c278dafbd3f0d3bbcf29edf55dda1eb.

 .../X11NotificationAreaBox.cs                      |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs b/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs
index 887b6b5..c165e6f 100644
--- a/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs
+++ b/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs
@@ -80,13 +80,10 @@ namespace Banshee.NotificationArea
             panel_size = 16;
             event_box.Add (icon);
 
-            event_box.AppPaintable = true;
             event_box.ButtonPressEvent += OnButtonPressEvent;
             event_box.EnterNotifyEvent += OnEnterNotifyEvent;
             event_box.LeaveNotifyEvent += OnLeaveNotifyEvent;
             event_box.ScrollEvent += OnMouseScroll;
-            event_box.ExposeEvent += OnExposeEvent;
-            event_box.GdkWindow.SetBackPixmap(null, true);
 
             event_box.ShowAll ();
         }
@@ -400,14 +397,5 @@ namespace Banshee.NotificationArea
 
             return result;
         }
-
-        [GLib.ConnectBefore]
-        private void OnExposeEvent (object o, ExposeEventArgs e)
-        {
-            Gtk.Widget widget = (Gtk.Widget)o;
-            Gdk.Rectangle area = e.Event.Area;
-
-            widget.GdkWindow.ClearArea(area.X, area.Y, area.Width, area.Height);
-        }
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]