commit: | 17e67b0b32ca501f7aa82ab0eefa10d8d1387128 |
author: | Trevor Bentley |
committer: | Trevor Bentley |
date: | Fri Aug 4 00:03:07 2017 +0200 |
parents: | 1094609a2e8a7287da8b03c3962fe1cad5157bad |
diff --git a/src/main.rs b/src/main.rs line changes: +7/-0 index 4db2daa..d5f18cc --- a/src/main.rs +++ b/src/main.rs
@@ -603,6 +603,13 @@ fn fill_menu<T: TStatusBar>(app: &mut ConnectrApp, i += 10; } } + + status.add_separator(); + let cb: NSCallback = Box::new(move |_sender, _tx| { + let _ = open::that("https://open.spotify.com/search/"); + }); + let item = status.add_item("Search Spotify", cb, false); + status.add_separator(); status.add_quit("Exit"); }