Propagate User App Model ID to Tray Icon

This PR prevents dozens of items showing up in the notification area
preferences when using Squirrel for Windows, by ensuring that
notification tray items are tied to the User App Model ID.
This commit is contained in:
Paul Betts 2015-07-24 03:10:03 -07:00
parent 720dc92efe
commit 08383a69ce
2 changed files with 19 additions and 0 deletions

View file

@ -75,6 +75,9 @@ class NotifyIcon : public TrayIcon {
// The context menu.
ui::SimpleMenuModel* menu_model_;
// A hash of the app model ID
GUID tray_app_id_hash_;
DISALLOW_COPY_AND_ASSIGN(NotifyIcon);
};