Browse files

Add WorkflowMax status menu item

  • Loading branch information...
1 parent 2612e3a commit ea117feb861edca929b378aed8e1deb25f54de6d @isaac committed Oct 8, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/application.rb
View
5 lib/application.rb
@@ -132,6 +132,11 @@ def status_menu
status.separator unless @clients.empty?
status.item "Synchronize", :on_action => proc { reload }
status.item "Preferences", :on_action => proc { preferences }
+ wfm_url = menu_item :title => "WorkflowMax"
+ wfm_url.on_action = proc {
+ NSWorkspace.sharedWorkspace.openURL NSURL.URLWithString("https://my.workflowmax.com/my/overview.aspx")
+ }
+ status.addItem wfm_url
status.separator
status.item "Quit", :on_action => proc { @app.terminate self }
end

0 comments on commit ea117fe

Please sign in to comment.