marklagendijk/WinLess — pull request #37 by dashk (2012-10-04 13:35:34+00:00)
Title: Adding "Compile" as a part of Tray Icon context menu

While the program does automatically detect changes in LESS files and compiles them, as developers, we like to be in control and I tend to manually click "Compile" a lot (Since we aren't too sure why styling changes are not picked up.)

With WinLESS being minified all the time, it'd be cool to add "Compile" as a part of Tray Icon's context menu, so I don't have to open the WinLESS dialog to click "Compile" on the main form.

In addition to adding Compile as a context menu, I've also extract the code for LESS complication into its private method, so both "Compile" on the form and in the context menu will execute the same code.