Skip to main content

fill_exif_box

Function fill_exif_box 

Source
fn fill_exif_box(container: &Box, exif: &ExifInfo, taken_label: &str)
Expand description

Populate the details sidebar with sectioned EXIF metadata.

Groups fall into three categories — Camera, Image, Location — each rendered as an AdwPreferencesGroup with accent-coloured prefix icons. Empty groups (e.g. an image with no GPS) are skipped so the pane stays compact.

taken_label decides whether the date row reads “Taken” (EXIF DateTimeOriginal — the camera’s capture moment) or “Modified” (filesystem mtime fallback when no capture timestamp exists).