summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2017-04-08 16:17:49 +0200
committerMarcus Meissner <marcus@jet.franken.de>2017-04-08 16:17:49 +0200
commitd1245a601b445ffe35352fef1fa20e6d1cfd9801 (patch)
tree39e5a404325704169aed57a52ba396210a156ad7
parent4959838a05bae497addbe0de352ce06f51935829 (diff)
downloadlibgphoto2-d1245a601b445ffe35352fef1fa20e6d1cfd9801.tar.gz
use standard syntax for imageformat
-rw-r--r--camlibs/pentax/library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camlibs/pentax/library.c b/camlibs/pentax/library.c
index 926306fb5..bb3bcf461 100644
--- a/camlibs/pentax/library.c
+++ b/camlibs/pentax/library.c
@@ -596,11 +596,11 @@ camera_get_config (Camera *camera, CameraWidget **window, GPContext *context)
gp_widget_append (section, t);
gp_widget_new (GP_WIDGET_RADIO, _("Image format"), &t);
- gp_widget_set_name (t, "img_format");
+ gp_widget_set_name (t, "imageformat");
/* it seems the upstream code seems to have it always available? */
gp_widget_add_choice (t, "JPEG");
gp_widget_add_choice (t, "RAW");
- gp_widget_add_choice (t, "RAW+");
+ gp_widget_add_choice (t, "RAW+JPEG");
switch (status.image_format) {
case PSLR_IMAGE_FORMAT_JPEG: gp_widget_set_value (t, "JPEG"); break;
case PSLR_IMAGE_FORMAT_RAW: gp_widget_set_value (t, "RAW"); break;