diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2013-04-29 22:58:46 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2013-04-29 22:59:32 +0400 |
commit | 52fa9f2fc3fa4ac9a6369fb1e6fcb8799ce4836e (patch) | |
tree | c6d8e7c5c7c9edf25c9a86c6bc6fe02019efd869 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs | |
parent | 6b77b133e0878fe595ddab534ec73ee3aae33b69 (diff) |
Expand/Collapse project folders on double-click
Fixes bug #11974
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs index 20e2bf8bba..752c62d463 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs @@ -139,6 +139,11 @@ namespace MonoDevelop.Ide.Gui.Pads.ProjectPad class ProjectFolderCommandHandler: FolderCommandHandler { + public override void ActivateItem () + { + CurrentNode.Expanded = !CurrentNode.Expanded; + } + public override string GetFolderPath (object dataObject) { return ((ProjectFolder)dataObject).Path; |