[banshee/a11y] [a11y] When column headers have keyboard focus, show their context menus.
- From: Eitan Isaacson <eitani src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee/a11y] [a11y] When column headers have keyboard focus, show their context menus.
- Date: Sat, 17 Oct 2009 02:00:29 +0000 (UTC)
commit 02f6b8f03f0648a4c5a17956fa8674c4f734b7be
Author: Eitan Isaacson <eitan ascender com>
Date: Fri Oct 16 18:59:27 2009 -0700
[a11y] When column headers have keyboard focus, show their context menus.
.../ListView/ListView_Interaction.cs | 13 +++++++++++++
1 files changed, 13 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 3b9214e..0e999c6 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
@@ -258,6 +258,19 @@ namespace Hyena.Data.Gui
handled = true;
}
break;
+
+ case Gdk.Key.F10:
+ if ((press.State & Gdk.ModifierType.ShiftMask) != 0)
+ goto case Gdk.Key.Menu;
+ break;
+
+ case Gdk.Key.Menu:
+ // OnPopupMenu() is reserved for list items in derived classes.
+ if (HeaderFocused) {
+ InvokeColumnHeaderMenu (ActiveColumn);
+ handled = true;
+ }
+ break;
}
if (handled) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]