summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2019-06-26 12:35:43 +0200
committerMarcus Meissner <marcus@jet.franken.de>2019-06-26 12:35:43 +0200
commit1675e810b56009290faa11b6c2bbf516e719d094 (patch)
tree9884e91747dcda41429489905de8d026587c1aee
parent85420422a788c04aadca7cd2bcd867bfe3544293 (diff)
downloadlibgphoto2-1675e810b56009290faa11b6c2bbf516e719d094.tar.gz
added shutterspeed config
-rw-r--r--camlibs/lumix/lumix.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/camlibs/lumix/lumix.c b/camlibs/lumix/lumix.c
index 20e736451..8279010f2 100644
--- a/camlibs/lumix/lumix.c
+++ b/camlibs/lumix/lumix.c
@@ -433,6 +433,11 @@ Get_Clock(Camera *camera) {
}
static char*
+Get_ShutterSpeed(Camera *camera) {
+ return loadCmd(camera,"cam.cgi?mode=getsetting&type=shtrspeed");
+}
+
+static char*
Get_AFMode(Camera *camera) {
return loadCmd(camera,"cam.cgi?mode=getsetting&type=afmode");
}
@@ -884,6 +889,11 @@ camera_config_get (Camera *camera, CameraWidget **window, GPContext *context)
gp_widget_set_value (widget, Get_Clock(camera));
gp_widget_append (section, widget);
+ gp_widget_new (GP_WIDGET_TEXT, _("Shutterspeed"), &widget);
+ gp_widget_set_name (widget, "shutterspeed");
+ gp_widget_set_value (widget, Get_ShutterSpeed(camera));
+ gp_widget_append (section, widget);
+
gp_widget_new (GP_WIDGET_TEXT, _("Autofocus Mode"), &widget);
gp_widget_set_name (widget, "afmode");
gp_widget_set_value (widget, Get_AFMode(camera));