[banshee] [ListView] Don't drag when clicking the empty space (bgo#599967)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [ListView] Don't drag when clicking the empty space (bgo#599967)
- Date: Tue, 3 Nov 2009 06:10:19 +0000 (UTC)
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]