[banshee] [Audiobook] Update grid



commit fe1819aa8586f4552c278e4161af71e6c46cf9f2
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sun Dec 20 13:45:11 2009 -0800

    [Audiobook] Update grid

 .../Banshee.Audiobook/AudiobookGrid.cs             |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
index b808be4..b52dacd 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
@@ -67,9 +67,19 @@ namespace Banshee.Audiobook
             //RowActivated += OnRowActivated;
         }
 
+        public override bool SelectOnRowFound {
+            get { return true; }
+        }
+
         protected override Gdk.Size OnMeasureChild ()
         {
             return renderer.Measure (this);
         }
+
+        protected override bool OnPopupMenu ()
+        {
+            //ServiceManager.Get<InterfaceActionService> ().TrackActions["TrackContextMenuAction"].Activate ();
+            return true;
+        }
     }
 }



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