[banshee] [InternetRadio] Make add action not important
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [InternetRadio] Make add action not important
- Date: Wed, 6 Oct 2010 20:38:29 +0000 (UTC)
commit 5481e06736f58f9d6a28eb7eeed7ac07a4ec62c6
Author: Gabriel Burt <gabriel burt gmail com>
Date: Wed Oct 6 15:29:32 2010 -0500
[InternetRadio] Make add action not important
.../Banshee.InternetRadio/InternetRadioSource.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.InternetRadio/Banshee.InternetRadio/InternetRadioSource.cs b/src/Extensions/Banshee.InternetRadio/Banshee.InternetRadio/InternetRadioSource.cs
index 538a294..cebb545 100644
--- a/src/Extensions/Banshee.InternetRadio/Banshee.InternetRadio/InternetRadioSource.cs
+++ b/src/Extensions/Banshee.InternetRadio/Banshee.InternetRadio/InternetRadioSource.cs
@@ -60,12 +60,13 @@ namespace Banshee.InternetRadio
AfterInitialized ();
InterfaceActionService uia_service = ServiceManager.Get<InterfaceActionService> ();
- uia_service.GlobalActions.AddImportant (
+ uia_service.GlobalActions.Add (
new ActionEntry ("AddRadioStationAction", Stock.Add,
Catalog.GetString ("Add Station"), null,
Catalog.GetString ("Add a new Internet Radio station or playlist"),
OnAddStation)
);
+ uia_service.GlobalActions["AddRadioStationAction"].IsImportant = false;
ui_id = uia_service.UIManager.AddUiFromResource ("GlobalUI.xml");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]