banshee r3171 - in trunk/banshee: . src/Core/Hyena.Gui/Hyena.Data.Gui/ListView
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3171 - in trunk/banshee: . src/Core/Hyena.Gui/Hyena.Data.Gui/ListView
- Date: Fri, 8 Feb 2008 00:51:14 +0000 (GMT)
Author: abock
Date: Fri Feb 8 00:51:14 2008
New Revision: 3171
URL: http://svn.gnome.org/viewvc/banshee?rev=3171&view=rev
Log:
2008-02-07 Aaron Bockover <abock gnome org>
* src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:
Support single row selection toggling when CTRL+Space is pressed
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 Fri Feb 8 00:51:14 2008
@@ -170,7 +170,6 @@
case Gdk.Key.Return:
case Gdk.Key.KP_Enter:
- case Gdk.Key.space:
if (focused_row_index != -1) {
Selection.Clear (false);
Selection.Select (focused_row_index);
@@ -178,6 +177,13 @@
handled = true;
}
break;
+
+ case Gdk.Key.space:
+ if (focused_row_index != 1) {
+ Selection.ToggleSelect (focused_row_index);
+ handled = true;
+ }
+ break;
}
if (handled) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]