diff options
author | Lluis Sanchez <lluis@novell.com> | 2010-03-22 22:38:48 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2010-03-22 22:38:48 +0300 |
commit | 8884ada1e753195836c08b8ab8efa76061296fe6 (patch) | |
tree | 53e0ac0c3087fb2a994cc5ab65a76e26bc6b4bc7 /main/src | |
parent | 8a65c640966c7ce3f62336e637a846a2a486e64b (diff) |
* MonoDevelop.Components.Docking/DockItem.cs: Set the focus to the
child widget instead of the docking container. Fixes bug #561512 -
Selecting floating pad from doc/pad switcher does not focus it.
svn path=/trunk/monodevelop/; revision=154010
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/ChangeLog | 7 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockItem.cs | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/ChangeLog b/main/src/core/MonoDevelop.Ide/ChangeLog index d1fe59670f..5c852e10d6 100644 --- a/main/src/core/MonoDevelop.Ide/ChangeLog +++ b/main/src/core/MonoDevelop.Ide/ChangeLog @@ -1,5 +1,12 @@ 2010-03-22 Lluis Sanchez Gual <lluis@novell.com> + * MonoDevelop.Components.Docking/DockItem.cs: Set the focus to + the child widget instead of the docking container. Fixes bug + #561512 - Selecting floating pad from doc/pad switcher does + not focus it. + +2010-03-22 Lluis Sanchez Gual <lluis@novell.com> + * MonoDevelop.Ide.Commands/ProjectCommands.cs: Ask before restarting the execution of the solution. Fixes bug #561693 - Usability issues in debugger commands. diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockItem.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockItem.cs index 12eb78e67c..95f57e02f2 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockItem.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockItem.cs @@ -302,12 +302,12 @@ namespace MonoDevelop.Components.Docking internal void SetFocus () { - SetFocus (Widget); + SetFocus (Content); } internal static void SetFocus (Widget w) { - w.ChildFocus (DirectionType.TabForward); + w.ChildFocus (DirectionType.Down); Window win = w.Toplevel as Gtk.Window; if (win == null) |