aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-27 19:20:02 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-28 17:24:39 +0800
commit6b6e6cad7fb240e7d61285c55f44224376c9cf63 (patch)
treedfee1db82a1d7c1d701604aadd50dcfe1ec9b691
parentf2f49d58f04cd06ac73015ca763aa1b17c74b89a (diff)
downloadgsoc2013-empathy-6b6e6cad7fb240e7d61285c55f44224376c9cf63.tar
gsoc2013-empathy-6b6e6cad7fb240e7d61285c55f44224376c9cf63.tar.gz
gsoc2013-empathy-6b6e6cad7fb240e7d61285c55f44224376c9cf63.tar.bz2
gsoc2013-empathy-6b6e6cad7fb240e7d61285c55f44224376c9cf63.tar.lz
gsoc2013-empathy-6b6e6cad7fb240e7d61285c55f44224376c9cf63.tar.xz
gsoc2013-empathy-6b6e6cad7fb240e7d61285c55f44224376c9cf63.tar.zst
gsoc2013-empathy-6b6e6cad7fb240e7d61285c55f44224376c9cf63.zip
Add a new gsettings key for the call volume
-rw-r--r--data/org.gnome.Empathy.gschema.xml.in8
-rw-r--r--libempathy/empathy-gsettings.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/data/org.gnome.Empathy.gschema.xml.in b/data/org.gnome.Empathy.gschema.xml.in
index 50b3005fa..bf9f20fdd 100644
--- a/data/org.gnome.Empathy.gschema.xml.in
+++ b/data/org.gnome.Empathy.gschema.xml.in
@@ -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>
diff --git a/libempathy/empathy-gsettings.h b/libempathy/empathy-gsettings.h
index 60726d17e..5a9fa95f8 100644
--- a/libempathy/empathy-gsettings.h
+++ b/libempathy/empathy-gsettings.h
@@ -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"