diff options
author | Dan Gudmundsson <[email protected]> | 2015-05-27 15:42:47 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-06-05 12:57:34 +0200 |
commit | 534a23c34d38a954610ac11329515a373efa008b (patch) | |
tree | 1cb6df58180a2126559db5d363e47fd05d2359f5 /lib/observer/src/cdv_detail_wx.erl | |
parent | 9b683f4bf98500f76a33f098879ee733790baa1f (diff) | |
download | otp-534a23c34d38a954610ac11329515a373efa008b.tar.gz otp-534a23c34d38a954610ac11329515a373efa008b.tar.bz2 otp-534a23c34d38a954610ac11329515a373efa008b.zip |
observer: cdv add more ets information
Info available from erl-18 nodes.
Diffstat (limited to 'lib/observer/src/cdv_detail_wx.erl')
-rw-r--r-- | lib/observer/src/cdv_detail_wx.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/observer/src/cdv_detail_wx.erl b/lib/observer/src/cdv_detail_wx.erl index dc93507a36..ec0d877d87 100644 --- a/lib/observer/src/cdv_detail_wx.erl +++ b/lib/observer/src/cdv_detail_wx.erl @@ -19,7 +19,7 @@ -behaviour(wx_object). --export([start_link/3]). +-export([start_link/4]). -export([init/1, handle_event/2, handle_cast/2, terminate/2, code_change/3, handle_call/3, handle_info/2]). @@ -38,13 +38,13 @@ -define(ID_NOTEBOOK, 604). %% Detail view -start_link(Id, ParentFrame, Callback) -> - wx_object:start_link(?MODULE, [Id, ParentFrame, Callback, self()], []). +start_link(Id, Data, ParentFrame, Callback) -> + wx_object:start_link(?MODULE, [Id, Data, ParentFrame, Callback, self()], []). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -init([Id, ParentFrame, Callback, Parent]) -> - case Callback:get_details(Id) of +init([Id, Data, ParentFrame, Callback, Parent]) -> + case Callback:get_details(Id, Data) of {ok,Details} -> init(Id,ParentFrame,Callback,Parent,Details); {yes_no, Info, Fun} -> |