exif: Show device maker more consitently

Also, don't call it camera because it can be a scanner etc as well
This commit is contained in:
Sophie Herold 2022-12-19 17:13:53 +01:00
parent cbde386126
commit 4b9c91f8df
3 changed files with 38 additions and 6 deletions

View file

@ -75,7 +75,7 @@ mod imp {
"exposure-time",
"iso",
"focal-length",
"camera-model",
"maker-model",
]
.iter()
.map(|name| glib::ParamSpecString::builder(name).read_only().build())
@ -99,7 +99,7 @@ mod imp {
"exposure-time" => metadata.exposure_time().to_value(),
"iso" => metadata.iso().to_value(),
"focal-length" => metadata.focal_length().to_value(),
"camera-model" => metadata.camera_model().to_value(),
"maker-model" => metadata.maker_model().to_value(),
name => unimplemented!("property {name}"),
}
}