diff options
author | Dan Gudmundsson <[email protected]> | 2011-10-07 15:35:16 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2011-11-10 08:04:51 +0100 |
commit | 87487a2534d3e790f65ac5b90cfc497d7d05dd86 (patch) | |
tree | 1b2436625a57fbd41630a14d6565beec194d3c6a /lib/observer/src/observer_procinfo.erl | |
parent | ffcacd111c61019a502a895b1edcfbc1578ddfa7 (diff) | |
download | otp-87487a2534d3e790f65ac5b90cfc497d7d05dd86.tar.gz otp-87487a2534d3e790f65ac5b90cfc497d7d05dd86.tar.bz2 otp-87487a2534d3e790f65ac5b90cfc497d7d05dd86.zip |
[observer] Misc cleanup and fixes
Make sure that the menus work on MacOsX.
Fix asserts on debug build on linux.
Make sure epmd is started before distribution.
Rewrote multi-selection code observer_pro_wx.
Diffstat (limited to 'lib/observer/src/observer_procinfo.erl')
-rw-r--r-- | lib/observer/src/observer_procinfo.erl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/observer/src/observer_procinfo.erl b/lib/observer/src/observer_procinfo.erl index b01b91c0b2..6414a26ec9 100644 --- a/lib/observer/src/observer_procinfo.erl +++ b/lib/observer/src/observer_procinfo.erl @@ -192,12 +192,9 @@ create_page(Notebook, Node, Module, What) -> {Panel, Stc}. create_menus(MenuBar) -> - observer_wx:create_menu( - [ - {"File", [#create_menu{id = ?CLOSE, text = "Close"}]}, - {"View", [#create_menu{id = ?REFRESH, text = "Refresh"}]} - ], - MenuBar). + Menus = [{"File", [#create_menu{id = ?CLOSE, text = "Close"}]}, + {"View", [#create_menu{id = ?REFRESH, text = "Refresh"}]}], + observer_lib:create_menus(Menus, MenuBar, new_window). check_boxes(CheckListBox, Bool, all) -> lists:foreach(fun(Index) -> |