[banshee] [NotificationAreaService] Fix build with older versions of notify-sharp



commit f6f41dffb677aa1362feffdc5602b61339bc6119
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Mon Oct 5 19:13:16 2009 +0200

    [NotificationAreaService] Fix build with older versions of notify-sharp
    
    Use the AttachToWidget method, because the AttachWidget property was
    added later. Fixes BGO#597441.

 .../NotificationAreaService.cs                     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs b/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs
index f937f99..aefdd2d 100644
--- a/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs
+++ b/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs
@@ -453,7 +453,7 @@ namespace Banshee.NotificationArea
                 else {
                     current_nf.Body = message;
                     current_nf.Icon = image;
-                    current_nf.AttachWidget = notif_area.Widget;
+                    current_nf.AttachToWidget (notif_area.Widget);
                 }
                 current_nf.Urgency = Urgency.Low;
                 current_nf.Timeout = 4500;



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