diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/ShellView.xaml.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs index b61cd55ab..4d0ae62e6 100644 --- a/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/ShellView.xaml.cs @@ -61,7 +61,8 @@ namespace HandBrakeWPF.Views Stream iconStream = streamResourceInfo.Stream;
this.notifyIcon.Icon = new Icon(iconStream);
}
- this.notifyIcon.DoubleClick += this.NotifyIconClick;
+
+ this.notifyIcon.Click += this.NotifyIconClick;
this.StateChanged += this.ShellViewStateChanged;
}
@@ -89,7 +90,6 @@ namespace HandBrakeWPF.Views this.InputBindings.Add(new InputBinding(new ProcessShortcutCommand(new KeyGesture(Key.D6, ModifierKeys.Control)), new KeyGesture(Key.D6, ModifierKeys.Control)));
this.InputBindings.Add(new InputBinding(new ProcessShortcutCommand(new KeyGesture(Key.D7, ModifierKeys.Control)), new KeyGesture(Key.D7, ModifierKeys.Control)));
-
// Enable Windows 7 Taskbar progress indication.
if (this.TaskbarItemInfo == null)
{
@@ -157,6 +157,7 @@ namespace HandBrakeWPF.Views private void NotifyIconClick(object sender, EventArgs e)
{
this.WindowState = WindowState.Normal;
+ this.Topmost = true;
}
/// <summary>
|