[banshee] [NotificationArea] fix the close action not merging when the service starts



commit f45cec74b5f52883f759dac9fc1e3f8d29517bfb
Author: Aaron Bockover <abockover novell com>
Date:   Fri Jun 19 18:55:38 2009 -0400

    [NotificationArea] fix the close action not merging when the service starts

 .../NotificationAreaService.cs                     |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs b/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs
index e457254..d93cc14 100644
--- a/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs
+++ b/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs
@@ -134,8 +134,7 @@ namespace Banshee.NotificationArea
             });
             
             interface_action_service.AddActionGroup (actions);
-            
-            ui_manager_id = -1;
+            ui_manager_id = (int)interface_action_service.UIManager.AddUiFromResource ("NotificationAreaMenu.xml");
             
             ServiceManager.PlayerEngine.ConnectEvent (OnPlayerEvent,
                PlayerEvent.StartOfStream |
@@ -242,7 +241,6 @@ namespace Banshee.NotificationArea
                 return;
             }
             
-            ui_manager_id = (int)interface_action_service.UIManager.AddUiFromResource ("NotificationAreaMenu.xml");
             menu = (Menu)interface_action_service.UIManager.GetWidget("/NotificationAreaIconMenu");
             menu.Show ();
             



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