aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/cdv_detail_wx.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-05-27 15:42:47 +0200
committerDan Gudmundsson <[email protected]>2015-06-05 12:57:34 +0200
commit534a23c34d38a954610ac11329515a373efa008b (patch)
tree1cb6df58180a2126559db5d363e47fd05d2359f5 /lib/observer/src/cdv_detail_wx.erl
parent9b683f4bf98500f76a33f098879ee733790baa1f (diff)
downloadotp-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.erl10
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} ->