]> khamidou — GitHub mirrors - electron.git/commit
linux: Fix detect global menu bar
authorCheng Zhao <zcbenz@gmail.com>
Tue, 21 Oct 2014 04:07:34 +0000 (12:07 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 21 Oct 2014 04:10:31 +0000 (12:10 +0800)
commitf82de6528b4a25ec4d04749a653223c791669ed3
tree3680dca9e99db57c39cccd5ac79cda35babbad47
parent593dce23a5cfc956b6780c6d5d3f84c14ae38df4
linux: Fix detect global menu bar

It seems that detecting the bus name "com.canonical.AppMenu.Registrar"
is the most reliable way to detect whether the appmenu is available, see
http://git.io/JmP7Yg for the discussion.
atom/browser/native_window_views.cc