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: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/132>
This commit is contained in:
parent
f8e64d9805
commit
a2a9b4134b
6 changed files with 44 additions and 38 deletions
|
|
@ -68,12 +68,12 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">File Type</property>
|
||||
<property name="title" translatable="yes">Image Format</property>
|
||||
<property name="subtitle-selectable">True</property>
|
||||
<binding name="subtitle">
|
||||
<closure type="gchararray" function="file_type">
|
||||
<lookup name="file-info">LpPropertiesView</lookup>
|
||||
</closure>
|
||||
<lookup type="LpImage" name="format-name">
|
||||
<lookup type="LpPropertiesView" name="image"/>
|
||||
</lookup>
|
||||
</binding>
|
||||
<style>
|
||||
<class name="property"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue