[banshee] [a11y] Added FocusChain to MenuButton.
- From: Eitan Isaacson <eitani src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [a11y] Added FocusChain to MenuButton.
- Date: Fri, 20 Nov 2009 19:21:25 +0000 (UTC)
commit 42dd511ac457d8edfbce7d8c74ef186816e47ba8
Author: Eitan Isaacson <eitan monotonous org>
Date: Fri Nov 20 11:15:12 2009 -0800
[a11y] Added FocusChain to MenuButton.
This gives proper focus order when in a toolbar.
.../Hyena.Gui/Hyena.Widgets/MenuButton.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs b/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs
index f40dbbd..138bb86 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs
@@ -73,6 +73,7 @@ namespace Hyena.Widgets
alignment.Add (arrow);
box.PackStart (alignment, false, false, 5);
size_widget = box;
+ FocusChain = new Widget[] {toggle_button, box};
} else {
toggle_button.Add (button_widget);
size_widget = toggle_button;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]