diff --git a/camlibs/pentax/library.c b/camlibs/pentax/library.c index 70d22a2b1..d3554cdf5 100644 --- a/camlibs/pentax/library.c +++ b/camlibs/pentax/library.c @@ -227,6 +227,7 @@ camera_get_config (Camera *camera, CameraWidget **window, GPContext *context) gp_widget_new (GP_WIDGET_TEXT, _("Model"), &t); gp_widget_set_name (t, "model"); gp_widget_set_value (t, model); + gp_widget_set_readonly (t, 1); gp_widget_append (section, t); @@ -270,6 +271,20 @@ camera_get_config (Camera *camera, CameraWidget **window, GPContext *context) gp_widget_set_value (t, buf); gp_widget_append (section, t); + gp_widget_new (GP_WIDGET_TEXT, _("Aperture at Lens Minimum Focal Length"), &t); + gp_widget_set_name (t, "apertureatminfocallength"); + sprintf(buf,"%d/%d",status.lens_min_aperture.nom,status.lens_min_aperture.denom); + gp_widget_set_value (t, buf); + gp_widget_set_readonly (t, 1); + gp_widget_append (section, t); + + gp_widget_new (GP_WIDGET_TEXT, _("Aperture at Lens Maximum Focal Length"), &t); + gp_widget_set_name (t, "apertureatmaxfocallength"); + sprintf(buf,"%d/%d",status.lens_max_aperture.nom,status.lens_max_aperture.denom); + gp_widget_set_value (t, buf); + gp_widget_set_readonly (t, 1); + gp_widget_append (section, t); + gp_widget_new (GP_WIDGET_RADIO, _("Shooting Mode"), &t); gp_widget_set_name (t, "shootingmode"); gp_widget_add_choice (t, _("GREEN"));