How can I determine if a file loaded with a sugar object chooser was selected from the datastore or from an external storage device?
dsobject = chooser.get_selected_object( ) logger.debug( "opening %s" % dsobject.file_path ) On an xo, opening a file from the usb results in something like: opening /home/olpc/.sugar/default/data/rawobject ... ... which is not too different from opening a file from the journal. Is there some additional metadata to look at to determine where the file came from?
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel