- added option to open Wox Settings from the tray menu

- added a checkbox option specifying whether to leave the command line open after having run a command like >ping google.com
This commit is contained in:
kerams
2014-04-10 23:44:57 +02:00
parent b8f513fffe
commit e0eb8c83e2
5 changed files with 41 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ using Wox.Infrastructure.Storage;
using Wox.Infrastructure.Storage.UserSettings;
using Wox.Plugin;
using Wox.PluginLoader;
using Wox.Properties;
using Application = System.Windows.Application;
using Brushes = System.Windows.Media.Brushes;
using Color = System.Windows.Media.Color;
@@ -179,9 +180,11 @@ namespace Wox
notifyIcon.Click += (o, e) => ShowWox();
var open = new MenuItem("Open");
open.Click += (o, e) => ShowWox();
var setting = new MenuItem("Setting");
setting.Click += (o, e) => OpenSettingDialog();
var exit = new MenuItem("Exit");
exit.Click += (o, e) => CloseApp();
MenuItem[] childen = { open, exit };
MenuItem[] childen = { open, setting, exit };
notifyIcon.ContextMenu = new ContextMenu(childen);
}