diff options
author | Siri Hansen <[email protected]> | 2014-05-28 12:11:11 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-05-28 12:11:11 +0200 |
commit | dfbfe7fa8256a3b78d12b8d92b94e955039ca20f (patch) | |
tree | ee289825dec2520722105f8f79804b2f45a3e559 /lib/observer/src/cdv_timer_cb.erl | |
parent | 0d0d642ba596d4bb92549e01d29b7295bd5a4698 (diff) | |
parent | 235d02334181df0bed92b8c6af07d092627691fe (diff) | |
download | otp-dfbfe7fa8256a3b78d12b8d92b94e955039ca20f.tar.gz otp-dfbfe7fa8256a3b78d12b8d92b94e955039ca20f.tar.bz2 otp-dfbfe7fa8256a3b78d12b8d92b94e955039ca20f.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/observer/src/cdv_timer_cb.erl')
-rw-r--r-- | lib/observer/src/cdv_timer_cb.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/observer/src/cdv_timer_cb.erl b/lib/observer/src/cdv_timer_cb.erl index 9cdbfa05a9..d44592cf18 100644 --- a/lib/observer/src/cdv_timer_cb.erl +++ b/lib/observer/src/cdv_timer_cb.erl @@ -27,18 +27,21 @@ %% Defines -define(COL_OWNER, 0). --define(COL_MSG, ?COL_OWNER+1). +-define(COL_NAME, ?COL_OWNER+1). +-define(COL_MSG, ?COL_NAME+1). -define(COL_TIME, ?COL_MSG+1). %% Callbacks for cdv_virtual_list_wx col_to_elem(id) -> col_to_elem(?COL_OWNER); col_to_elem(?COL_OWNER) -> #timer.pid; +col_to_elem(?COL_NAME) -> #timer.name; col_to_elem(?COL_MSG) -> #timer.msg; col_to_elem(?COL_TIME) -> #timer.time. col_spec() -> [{"Owner", ?wxLIST_FORMAT_LEFT, 110}, - {"Message", ?wxLIST_FORMAT_LEFT, 400}, + {"Owner name", ?wxLIST_FORMAT_LEFT, 150}, + {"Message", ?wxLIST_FORMAT_LEFT, 300}, {"Time left (ms)", ?wxLIST_FORMAT_RIGHT, 80}]. get_info(Owner) -> |