From a2a9b4134b650d80643d671ab53225f2559b23d4 Mon Sep 17 00:00:00 2001 From: Sophie Herold Date: Thu, 9 Mar 2023 22:10:08 +0100 Subject: [PATCH] propertiesView: Use decoder format Use the format that we actually used when decoding. The mime type is usually derived from the file extension which might not always be correct. Issue #43 Part-of: --- data/gtk/properties_view.ui | 8 ++++---- src/decoder/formats/mod.rs | 26 ++++++++++++++++++++++++++ src/decoder/mod.rs | 20 +------------------- src/widgets/image.rs | 14 ++++++++++++-- src/widgets/image_view.rs | 2 +- src/widgets/properties_view.rs | 12 ------------ 6 files changed, 44 insertions(+), 38 deletions(-) diff --git a/data/gtk/properties_view.ui b/data/gtk/properties_view.ui index ddfca20..5420327 100644 --- a/data/gtk/properties_view.ui +++ b/data/gtk/properties_view.ui @@ -68,12 +68,12 @@ - File Type + Image Format True - - LpPropertiesView - + + +