423 |
pos = listview_get_curr_pos (lv); |
pos = listview_get_curr_pos (lv); |
424 |
if (fm_check_file_type (lv, pos, FM_DECRYPT)) |
if (fm_check_file_type (lv, pos, FM_DECRYPT)) |
425 |
set_menu_state (popup, ID_FILECTX_SEND, MF_ENABLED); |
set_menu_state (popup, ID_FILECTX_SEND, MF_ENABLED); |
426 |
if (fm_check_file_type (lv, listview_get_curr_pos (lv), FM_ENCRYPT)) { |
if (fm_check_file_type (lv, pos, FM_ENCRYPT)) { |
427 |
set_menu_state (popup, ID_FILECTX_DECRYPT, MF_GRAYED|MF_DISABLED); |
set_menu_state (popup, ID_FILECTX_DECRYPT, MF_GRAYED|MF_DISABLED); |
428 |
set_menu_state (popup, ID_FILECTX_VERIFY, MF_GRAYED|MF_DISABLED); |
set_menu_state (popup, ID_FILECTX_VERIFY, MF_GRAYED|MF_DISABLED); |
429 |
} |
} |