Tray menu items same as in old shell

This commit is contained in:
Vladimir Borisov 2021-08-03 14:57:19 +03:00
parent a5f0d26535
commit e89f282996

View file

@ -12,11 +12,11 @@ pub struct SystemTray {
pub tray: nwg::TrayNotification,
#[nwg_control(popup: true)]
pub tray_menu: nwg::Menu,
#[nwg_control(parent: tray_menu, text: "&Show Window")]
#[nwg_control(parent: tray_menu, text: "&Show window")]
pub tray_show_hide: nwg::MenuItem,
#[nwg_control(parent: tray_menu, text: "Always on &Top")]
#[nwg_control(parent: tray_menu, text: "Always on &top")]
pub tray_topmost: nwg::MenuItem,
#[nwg_control(parent: tray_menu, text: "E&xit")]
#[nwg_control(parent: tray_menu, text: "&Quit")]
pub tray_exit: nwg::MenuItem,
}