[empathy] Add a GSettings key for the default camera



commit 1c67fe35b022071ff9c5af15a54e8cd495ea3280
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Tue Aug 2 09:52:36 2011 +0100

    Add a GSettings key for the default camera

 data/org.gnome.Empathy.gschema.xml.in |    5 +++++
 libempathy/empathy-gsettings.h        |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.Empathy.gschema.xml.in b/data/org.gnome.Empathy.gschema.xml.in
index bf9f20f..3f887fe 100644
--- a/data/org.gnome.Empathy.gschema.xml.in
+++ b/data/org.gnome.Empathy.gschema.xml.in
@@ -231,6 +231,11 @@ present them to the user immediately.</_description>
       <_summary>Call volume</_summary>
       <_description>Call volume, as a percentage.</_description>
     </key>
+    <key name="camera-device" type="s">
+      <default>''</default>
+      <_summary>Camera device</_summary>
+      <_description>Default camera device to use in video calls, e.g. /dev/video0.</_description>
+    </key>
   </schema>
   <schema id="org.gnome.Empathy.hints" path="/org/gnome/empathy/hints/">
     <key name="close-main-window" type="b">
diff --git a/libempathy/empathy-gsettings.h b/libempathy/empathy-gsettings.h
index 5a9fa95..d6e5d91 100644
--- a/libempathy/empathy-gsettings.h
+++ b/libempathy/empathy-gsettings.h
@@ -53,6 +53,7 @@ G_BEGIN_DECLS
 
 #define EMPATHY_PREFS_CALL_SCHEMA EMPATHY_PREFS_SCHEMA ".call"
 #define EMPATHY_PREFS_CALL_SOUND_VOLUME            "volume"
+#define EMPATHY_PREFS_CALL_CAMERA_DEVICE           "camera-device"
 
 #define EMPATHY_PREFS_CHAT_SCHEMA EMPATHY_PREFS_SCHEMA ".conversation"
 #define EMPATHY_PREFS_CHAT_SHOW_SMILEYS            "graphical-smileys"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]