BruceSteers wrote: ↑
Friday 02nd April 2021 9:26pm
Or if Benoit will not add it you could probably copy the 2 above mentioned files into your app and rename them (and change CTaskPreview references to match new name) and add it yourself.
I could help anyone if having problems but am doing other things at present to take this on.
I had a quick look and have this starter for you...
It's a test app i have just imported FileView.class and CTaskPreview.class into and called them MyFileView.class and MyTaskPreview.class
I had to pull a couple of other functions in from gb.form and the DirCache.class that i renamed to MyDirCache.Class
then changed any references and made a working app with it's own internal (customisable) fileview class.
I have not added any of your previewing stuff to it just made a base that you folks may find useful and be able to adapt to suit your own needs..
I also didn't add any location controls it just opens in Home/Pictures/
A raw previewer seems specific.
I don't have one unless i install one, thus for this reason i am not sure Benoit will want to add it. (I could well be wrong)
my thumbnailer list is as follows on Mint20
Code: Select all
$ ls /usr/share/thumbnailers/
ffmpegthumbnailer.thumbnailer librsvg.thumbnailer xplayer.thumbnailer
gdk-pixbuf-thumbnailer.thumbnailer mate-font-viewer.thumbnailer xreader.thumbnailer
So might be better to make your own version
Hope this helps...