diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 59fa8caa85..90117eaa19 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -560,6 +560,14 @@ bool create_dir(void) return true; } +static bool properties(void) +{ + if(PLUGIN_USB_CONNECTED == filetype_load_plugin("properties", + selected_file)) + onplay_result = ONPLAY_RELOAD_DIR; + return false; +} + /* Store the current selection in the clipboard */ static bool clipboard_clip(bool copy) { @@ -966,7 +974,12 @@ int onplay(char* file, int attr, int from) items[i].desc = ID2P(LANG_CREATE_DIR); items[i].function = create_dir; i++; + + items[i].desc = ID2P(LANG_PROPERTIES); + items[i].function = properties; + i++; } + if (context == CONTEXT_WPS) { #ifdef HAVE_PITCHSCREEN |