debug log with some printf statements added (lines added start with XXX)
Here is the sequence: XXX ma_set_choices choices [{'items': [], 'selected': False, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'jibel'}, {'items': [], 'selecte d': False, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'ubuntu'}] -> click 0 checked XXX ma_cb_toggle path selected False 0 XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures'] -> click 0 unchecked XXX ma_cb_toggle path selected True 0 XXX ma_cb_toggle items [] -> click 0 checked XXX ma_cb_toggle path selected False 0 XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures'] -> click 0 unchecked XXX ma_cb_toggle path selected True 0 XXX ma_cb_toggle items [] -> click 1 checked XXX ma_cb_toggle path selected True 1 XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures'] -> click 1 unchecked XXX ma_cb_toggle path selected True 1 XXX ma_cb_toggle items [] -> click 1 checked XXX ma_cb_toggle path selected False 1 XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures'] -> click 1 unchecked XXX ma_cb_toggle path selected True 1 XXX ma_cb_toggle items [] XXX ok_handler choices [{'items': ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures'], 'selected': False, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'jibel'}, {'items': [], 'selected': True, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'ubuntu'}]
where 0 is the 1rst user in the list (jibel) and 1 is the second one (ubuntu)
debug log with some printf statements added (lines added start with XXX)
Here is the sequence:
XXX ma_set_choices choices [{'items': [], 'selected': False, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'jibel'}, {'items': [], 'selecte
d': False, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'ubuntu'}]
-> click 0 checked
XXX ma_cb_toggle path selected False 0
XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures']
-> click 0 unchecked
XXX ma_cb_toggle path selected True 0
XXX ma_cb_toggle items []
-> click 0 checked
XXX ma_cb_toggle path selected False 0
XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures']
-> click 0 unchecked
XXX ma_cb_toggle path selected True 0
XXX ma_cb_toggle items []
-> click 1 checked
XXX ma_cb_toggle path selected True 1
XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures']
-> click 1 unchecked
XXX ma_cb_toggle path selected True 1
XXX ma_cb_toggle items []
-> click 1 checked
XXX ma_cb_toggle path selected False 1
XXX ma_cb_toggle items ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures']
-> click 1 unchecked
XXX ma_cb_toggle path selected True 1
XXX ma_cb_toggle items []
XXX ok_handler choices [{'items': ['Mozilla Firefox', 'Internet Explorer', 'Wallpaper', 'My Documents', 'My Music', 'My Pictures'], 'selected': False, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'jibel'}, {'items': [], 'selected': True, 'part': 'sda3', 'os': 'Windows 7 (data)', 'user': 'ubuntu'}]
where 0 is the 1rst user in the list (jibel) and 1 is the second one (ubuntu)