diff options
author | Gaël Bonithon <gael@xfce.org> | 2021-12-23 07:08:48 +0100 |
---|---|---|
committer | Gaël Bonithon <gael@xfce.org> | 2021-12-23 11:43:18 +0100 |
commit | 1f7c2dfd97d83e036c039fe6a8ab4aa71a4e07a1 (patch) | |
tree | 922848dbb5c16d42f535641009a8af43e0ddf119 /tumblerd | |
parent | 73ac649179ce14420adcb8215147a0b565755acc (diff) | |
download | tumbler-1f7c2dfd97d83e036c039fe6a8ab4aa71a4e07a1.tar.gz |
Set the priority of external thumbnailers to 0
If their priority is equal to that of another plugin, there is no way to
know in advance which one will be prioritized in case of a mime type
match (more precisely, it depends on the order in which
`g_dir_read_name()` goes through the plugin directory).
Diffstat (limited to 'tumblerd')
-rw-r--r-- | tumblerd/tumbler.rc | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/tumblerd/tumbler.rc b/tumblerd/tumbler.rc index cb4fbd7..bda93b1 100644 --- a/tumblerd/tumbler.rc +++ b/tumblerd/tumbler.rc @@ -16,7 +16,7 @@ # that paths in Excludes precede those in Locations. # MaxFileSize: Maximum size of the source file the plugin will still # try to generate a plugin for. The size is in bytes, -# 0 disabled the check. +# 0 disables the check. # # For more information see https://docs.xfce.org/xfce/tumbler/start ### @@ -82,7 +82,7 @@ Excludes= MaxFileSize=0 ### -# Other Thumbnailers +# Document Thumbnailers ### # FreeType thumbnailer @@ -110,18 +110,27 @@ Locations= Excludes= MaxFileSize=0 -# thumbnailers provided by .thumbnailer desktop files -[DesktopThumbnailer] +# Epub thumbnailer +[EpubThumbnailer] Disabled=false Priority=1 Locations= Excludes= MaxFileSize=0 -# Epub thumbnailer -[EpubThumbnailer] +### +# External Thumbnailers +### + +# Thumbnailers provided by .thumbnailer desktop files. +# They can handle any mime type, depending on the contents of each particular desktop file. +# Their priority is defined globally and by default lower than that of all internal thumbnailers. +# These priorities should in any case remain different, otherwise there is no way to know in +# advance which of the internal or external thumbnailer will be prioritized in case of a mime type +# match. +[DesktopThumbnailer] Disabled=false -Priority=1 +Priority=0 Locations= Excludes= MaxFileSize=0 |