]> git.0d.be Git - empathy.git/commitdiff
Add a new gsettings key for the call volume
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Wed, 27 Jul 2011 11:20:02 +0000 (12:20 +0100)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 28 Jul 2011 09:24:39 +0000 (10:24 +0100)
data/org.gnome.Empathy.gschema.xml.in
libempathy/empathy-gsettings.h

index 50b3005fa7022d1091ddfffeb42930da4d6c1b7d..bf9f20fddb4e1130f61fe7f11c8d49ba8db2d8fa 100644 (file)
@@ -224,6 +224,14 @@ present them to the user immediately.</_description>
       <_description>Whether Empathy should use the avatar of the contact as the chat window icon.</_description>
     </key>
   </schema>
+  <schema id="org.gnome.Empathy.call" path="/org/gnome/empathy/call/">
+    <key name="volume" type="d">
+      <range min="0" max="150"/>
+      <default>100.0</default>
+      <_summary>Call volume</_summary>
+      <_description>Call volume, as a percentage.</_description>
+    </key>
+  </schema>
   <schema id="org.gnome.Empathy.hints" path="/org/gnome/empathy/hints/">
     <key name="close-main-window" type="b">
       <default>true</default>
index 60726d17e05eacb3da970840780f7ad756f97a57..5a9fa95f81ae558f7c336daccc3d2f03f73e1be7 100644 (file)
@@ -51,6 +51,9 @@ G_BEGIN_DECLS
 #define EMPATHY_PREFS_SOUNDS_CONTACT_LOGIN         "sounds-contact-login"
 #define EMPATHY_PREFS_SOUNDS_CONTACT_LOGOUT        "sounds-contact-logout"
 
+#define EMPATHY_PREFS_CALL_SCHEMA EMPATHY_PREFS_SCHEMA ".call"
+#define EMPATHY_PREFS_CALL_SOUND_VOLUME            "volume"
+
 #define EMPATHY_PREFS_CHAT_SCHEMA EMPATHY_PREFS_SCHEMA ".conversation"
 #define EMPATHY_PREFS_CHAT_SHOW_SMILEYS            "graphical-smileys"
 #define EMPATHY_PREFS_CHAT_SHOW_CONTACTS_IN_ROOMS  "show-contacts-in-rooms"