[banshee: 21/61] [InternetArchive] Add context menu to IA src



commit e72bff543d953bee1c6a25c8803820cfb0b965c1
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Fri Oct 9 10:38:41 2009 -0700

    [InternetArchive] Add context menu to IA src

 .../Banshee.InternetArchive/Source.cs              |    1 +
 .../Resources/ActiveSourceUI.xml                   |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/Source.cs b/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/Source.cs
index 2bee7e9..35fb46b 100644
--- a/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/Source.cs
+++ b/src/Extensions/Banshee.InternetArchive/Banshee.InternetArchive/Source.cs
@@ -118,6 +118,7 @@ namespace Banshee.InternetArchive
 
             Properties.SetString ("ActiveSourceUIResource", "ActiveSourceUI.xml");
             Properties.Set<bool> ("ActiveSourceUIResourcePropagate", true);
+            Properties.SetString ("GtkActionPath", "/InternetArchiveContextMenu");
 
             actions = new Actions (this);
 
diff --git a/src/Extensions/Banshee.InternetArchive/Resources/ActiveSourceUI.xml b/src/Extensions/Banshee.InternetArchive/Resources/ActiveSourceUI.xml
index 5959c5a..37b9fdc 100644
--- a/src/Extensions/Banshee.InternetArchive/Resources/ActiveSourceUI.xml
+++ b/src/Extensions/Banshee.InternetArchive/Resources/ActiveSourceUI.xml
@@ -20,6 +20,10 @@
     </menu>
   </menubar>
 
+  <popup action="InternetArchiveContextMenu">
+    <menuitem action="VisitInternetArchive" />
+  </popup>
+
   <popup name="TrackContextMenu" action="TrackContextMenuAction">
     <placeholder name="BelowAddToPlaylist">
         <separator />



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