summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/properties.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index 1726e01c34..079161a514 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -299,11 +299,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
299 if(!found) 299 if(!found)
300 { 300 {
301 /* weird: we couldn't find the entry. This Should Never Happen (TM) */ 301 /* weird: we couldn't find the entry. This Should Never Happen (TM) */
302 rb->lcd_clear_display(); 302 rb->splash(0, "File/Dir not found: %s", (char*)file);
303 rb->lcd_puts(0,0,"File/Dir not found:");
304 rb->lcd_puts(0,1,(char*)file);
305 rb->lcd_update();
306
307 rb->action_userabort(TIMEOUT_BLOCK); 303 rb->action_userabort(TIMEOUT_BLOCK);
308 return PLUGIN_OK; 304 return PLUGIN_OK;
309 } 305 }
@@ -311,11 +307,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
311 /* get the info depending on its_a_dir */ 307 /* get the info depending on its_a_dir */
312 if(!(its_a_dir ? dir_properties((char*)file):file_properties((char*)file))) 308 if(!(its_a_dir ? dir_properties((char*)file):file_properties((char*)file)))
313 { 309 {
314 /* something went wrong */ 310 /* something went wrong (to do: tell user what it was (nesting,...) */
315 rb->lcd_clear_display(); 311 rb->splash(0, "Failed to gather information");
316 rb->lcd_puts(0,0,"Failed to gather information");
317 rb->lcd_update();
318
319 rb->action_userabort(TIMEOUT_BLOCK); 312 rb->action_userabort(TIMEOUT_BLOCK);
320 return PLUGIN_OK; 313 return PLUGIN_OK;
321 } 314 }