banshee r3178 - in trunk/banshee: . src/Core/Hyena.Gui/Hyena.Data.Gui/ListView
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3178 - in trunk/banshee: . src/Core/Hyena.Gui/Hyena.Data.Gui/ListView
- Date: Sat, 9 Feb 2008 01:03:18 +0000 (GMT)
Author: abock
Date: Sat Feb 9 01:03:17 2008
New Revision: 3178
URL: http://svn.gnome.org/viewvc/banshee?rev=3178&view=rev
Log:
2008-02-08 Aaron Bockover <abock gnome org>
* src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:
Fixed double clicking again
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
Modified: trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs (original)
+++ trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs Sat Feb 9 01:03:17 2008
@@ -222,8 +222,8 @@
int row_index = GetRowAtY ((int) press.Y);
- if (press.Button == 1 && (press.State & Gdk.ModifierType.ControlMask) == 0 &&
- Selection.Contains (row_index)) {
+ if (press.Button == 1 && press.Type != Gdk.EventType.TwoButtonPress &&
+ (press.State & Gdk.ModifierType.ControlMask) == 0 && Selection.Contains (row_index)) {
return true;
}
@@ -336,8 +336,18 @@
if (pressed_column_is_dragging) {
header_window.Cursor = drag_cursor;
+
+ /*Column swap_column = GetColumnAt ((int)evnt.X);
+ if (swap_column != null) {
+ int index = GetCachedColumnForColumn (swap_column).Index;
+ ColumnController.Reorder (pressed_column_index, index);
+ pressed_column_index = index;
+ RegenerateColumnCache ();
+ }*/
+
pressed_column_x_drag = (int)evnt.X - pressed_column_x_start +
column_cache[pressed_column_index].X1;
+
InvalidateHeaderWindow ();
InvalidateListWindow ();
return true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]