diff options
author | Siri Hansen <[email protected]> | 2018-01-12 16:54:02 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-01-12 16:54:02 +0100 |
commit | 89cb8aca4115bdf6dc9f3543612445564c2caf66 (patch) | |
tree | 2edf892aa199b4a3d17121b6472841f2ef9c55e5 /lib/observer/src/cdv_detail_wx.erl | |
parent | 4deb411cef7fff218445c06b78989b7ead639bd8 (diff) | |
parent | 8fbbc9713e86b51295835f4b5065769c4ca407ef (diff) | |
download | otp-89cb8aca4115bdf6dc9f3543612445564c2caf66.tar.gz otp-89cb8aca4115bdf6dc9f3543612445564c2caf66.tar.bz2 otp-89cb8aca4115bdf6dc9f3543612445564c2caf66.zip |
Merge branch 'maint'
Conflicts:
lib/observer/src/crashdump_viewer.erl
Diffstat (limited to 'lib/observer/src/cdv_detail_wx.erl')
-rw-r--r-- | lib/observer/src/cdv_detail_wx.erl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/observer/src/cdv_detail_wx.erl b/lib/observer/src/cdv_detail_wx.erl index f6d282638a..6c4739042b 100644 --- a/lib/observer/src/cdv_detail_wx.erl +++ b/lib/observer/src/cdv_detail_wx.erl @@ -48,6 +48,7 @@ init([Id, Data, ParentFrame, Callback, App, Parent]) -> display_progress(ParentFrame,App), case Callback:get_details(Id, Data) of {ok,Details} -> + display_progress_pulse(Callback,Id), init(Id,ParentFrame,Callback,App,Parent,Details); {yes_no, Info, Fun} -> destroy_progress(App), @@ -69,8 +70,16 @@ display_progress(ParentFrame,cdv) -> "Reading data"); display_progress(_,_) -> ok. + +%% Display pulse while creating process detail page with much data +display_progress_pulse(cdv_proc_cb,Pid) -> + observer_lib:report_progress({ok,"Displaying data for "++Pid}), + observer_lib:report_progress({ok,start_pulse}); +display_progress_pulse(_,_) -> + ok. + destroy_progress(cdv) -> - observer_lib:destroy_progress_dialog(); + observer_lib:sync_destroy_progress_dialog(); destroy_progress(_) -> ok. |