aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-18 12:43:59 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-18 12:43:59 -0300
commit2ba02b7f99a05655feca585c27bd2e55bcefe014 (patch)
tree271e3a744d46f6d6d3068ba62c5b31d47023dc13 /data
parent5e9cf9ad9a646921f36c49e9f2a40d3b66e0a49f (diff)
preserve last used resolution if not changed via command lineschemas
Store the last used resolution at Gconf's schema. This way, when camorama is restarted, it will re-use it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'data')
-rw-r--r--data/camorama.schemas.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/camorama.schemas.in b/data/camorama.schemas.in
index a902ce2..d248247 100644
--- a/data/camorama.schemas.in
+++ b/data/camorama.schemas.in
@@ -14,6 +14,30 @@
</schema>
<schema>
+ <key>/schemas/apps/camorama/width</key>
+ <applyto>/apps/camorama/width</applyto>
+ <owner>camorama</owner>
+ <type>int</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Image width</short>
+ <long>Image width used by the camera. Zero means autoselect</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/apps/camorama/height</key>
+ <applyto>/apps/camorama/height</applyto>
+ <owner>camorama</owner>
+ <type>int</type>
+ <default>0</default>
+ <locale name="C">
+ <short>Image height</short>
+ <long>Image height used by the camera. Zero means autoselect</long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/camorama/preferences/append_ts_to_file</key>
<applyto>/apps/camorama/preferences/append_ts_to_file</applyto>
<owner>camorama</owner>

Privacy Policy