From e692fbba22dd16b4d8749425eac03079701db0ea Mon Sep 17 00:00:00 2001 From: henrypp Date: Mon, 15 Oct 2018 02:22:46 +0600 Subject: [PATCH] fixed tray menu --- src/main.cpp | 1 + src/resource.rc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 09b277d7..72a9eeb4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9708,6 +9708,7 @@ INT_PTR CALLBACK DlgProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) app.LocaleMenu (submenu, IDS_MODE_BLACKLIST, IDM_TRAY_MODEBLACKLIST, false, nullptr); app.LocaleMenu (submenu, IDS_ADD, add_id, true, nullptr); + _app_generate_addmenu (GetSubMenu (submenu, add_id)); app.LocaleMenu (submenu, IDS_TRAY_LOG, notifications_id, true, nullptr); diff --git a/src/resource.rc b/src/resource.rc index 2bfaa26a..1f423c2f 100644 --- a/src/resource.rc +++ b/src/resource.rc @@ -133,11 +133,11 @@ IDM_TRAY MENU } POPUP " " { - MENUITEM " ", IDM_ALL_SERVICES + MENUITEM " ", IDM_ALL_PACKAGES } POPUP " " { - MENUITEM " ", IDM_ALL_PACKAGES + MENUITEM " ", IDM_ALL_SERVICES } } MENUITEM SEPARATOR