[banshee] [ListView] Don't drag when clicking the empty space (bgo#599967)



commit 5794e586993d3081ec06cc99273f46796f1ec046
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Tue Nov 3 17:06:21 2009 +1100

    [ListView] Don't drag when clicking the empty space (bgo#599967)

 .../ListView/ListView_Interaction.cs               |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
index 1b44fee..f000999 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
@@ -399,6 +399,7 @@ namespace Hyena.Data.Gui
             int row_index = GetRowAtY (y);
 
             if (row_index < 0 || row_index >= Model.Count) {
+                Gtk.Drag.SourceUnset (this);
                 return true;
             }
             



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