]> khamidou — GitHub mirrors - electron.git/commit
Generate menu group id automatically.
authorCheng Zhao <zcbenz@gmail.com>
Sun, 25 May 2014 04:32:47 +0000 (12:32 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 25 May 2014 04:37:00 +0000 (12:37 +0800)
commit04fbec5120736ba6a2546081462c52dfedda7ca5
tree2ce9352aad4078cc6fbed5be47b4d402e05e4785
parent76d0d3ec19c4e768f1cef0813a3fa9d2622393d2
Generate menu group id automatically.

In GTK+ radio menu items are managed automatically, so group id won't
have any effect there, in the meanwhile we need to maintain the same
behavior on all platforms, so we have to generate group id instead of
letting users specifying it.
atom/browser/api/lib/menu-item.coffee
atom/browser/api/lib/menu.coffee
docs/api/menu-item.md