summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index b5825044f1..3f1fa7d19b 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -487,14 +487,10 @@ int filetype_list_viewers(const char* current_file)
487 return PLUGIN_OK; 487 return PLUGIN_OK;
488 } 488 }
489#endif 489#endif
490 info.title = str(LANG_ONPLAY_OPEN_WITH); 490 simplelist_info_init(&info, str(LANG_ONPLAY_OPEN_WITH), 1, count, &data);
491 info.count = count;
492 info.selection_size = 1; info.hide_selection = false;
493 info.scroll_all = false;
494 info.action_callback = openwith_action_callback; 491 info.action_callback = openwith_action_callback;
495 info.get_name = openwith_get_name; 492 info.get_name = openwith_get_name;
496 info.get_icon = openwith_get_icon; 493 info.get_icon = openwith_get_icon;
497 info.callback_data = &data;
498 return simplelist_show_list(&info); 494 return simplelist_show_list(&info);
499} 495}
500 496