[empathy] Add a new gsettings key for the call volume
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Add a new gsettings key for the call volume
- Date: Thu, 28 Jul 2011 11:59:06 +0000 (UTC)
commit 6b6e6cad7fb240e7d61285c55f44224376c9cf63
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date: Wed Jul 27 12:20:02 2011 +0100
Add a new gsettings key for the call volume
data/org.gnome.Empathy.gschema.xml.in | 8 ++++++++
libempathy/empathy-gsettings.h | 3 +++
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 50b3005..bf9f20f 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 60726d1..5a9fa95 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]