diff --git a/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj b/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj index 2ee7b8a7e4..32fcf36896 100644 --- a/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj +++ b/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj @@ -364,6 +364,8 @@ + + Never diff --git a/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml index 30694a9e3b..8ecba49a41 100644 --- a/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml +++ b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml @@ -1,11 +1,13 @@  + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="clr-namespace:ICSharpCode.SharpDevelop.Refactoring" + xmlns:aero="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"> - + + + M 0 0 L 2 3 L 4 0 Z @@ -18,17 +20,31 @@ - + - - + + - - - + + + + + + + + + diff --git a/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml.cs b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml.cs index 174d655fb0..f9401c6d1a 100644 --- a/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml.cs +++ b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionsBulbControl.xaml.cs @@ -24,6 +24,7 @@ namespace ICSharpCode.SharpDevelop.Refactoring public ContextActionsBulbControl() { InitializeComponent(); + this.IsOpen = false; } public event EventHandler ActionExecuted @@ -37,7 +38,7 @@ namespace ICSharpCode.SharpDevelop.Refactoring get { return isOpen; } set { isOpen = value; - this.Header.Opacity = isOpen ? 1.0 : 0.5; + this.Header.Opacity = isOpen ? 1.0 : 1.0; this.Header.BorderThickness = isOpen ? new Thickness(1, 1, 1, 0) : new Thickness(1); this.ActionsTreeView.Visibility = isOpen ? Visibility.Visible : Visibility.Collapsed; } diff --git a/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/bulb.png b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/bulb.png new file mode 100644 index 0000000000..052d9ba85d Binary files /dev/null and b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/bulb.png differ diff --git a/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/pencil.png b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/pencil.png new file mode 100644 index 0000000000..c60192dfc0 Binary files /dev/null and b/src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/pencil.png differ