[evolution/wip/gsettings] Migrate mail notification schemas to GSettings



commit 66874740c44489a8298ce3fe3a9d28a49d5c3e05
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Wed Nov 3 18:35:05 2010 +0100

    Migrate mail notification schemas to GSettings

 data/evolution.convert                       |    8 +++++
 data/org.gnome.evolution.mail.gschema.xml.in |   40 ++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/data/evolution.convert b/data/evolution.convert
index 84f5e91..903a53a 100644
--- a/data/evolution.convert
+++ b/data/evolution.convert
@@ -38,3 +38,11 @@ attachment-reminder-clues = /apps/evolution/mail/attachment_reminder_clues
 custom-headers = /apps/evolution/eplugin/email_custom_header/customHeader
 utf8-for-spam-filter = /apps/evolution/mail/junk/bogofilter/unicode
 insert-face-picture = /apps/evolution/eplugin/face/insert_by_default
+notify-only-inbox = /apps/evolution/eplugin/mail-notification/notify-only-inbox
+notify-dbus-enabled = /apps/evolution/eplugin/mail-notification/dbus-enabled
+notify-status-enabled = /apps/evolution/eplugin/mail-notification/status-enabled
+notify-status-notification = /apps/evolution/eplugin/mail-notification/status-notification
+notify-sound-enabled = /apps/evolution/eplugin/mail-notification/sound-enabled
+notify-sound-beep = /apps/evolution/eplugin/mail-notification/sound-beep
+notify-sound-file = /apps/evolution/eplugin/mail-notification/sound-file
+notify-sound-use-theme = /apps/evolution/eplugin/mail-notification/sound-use-theme
diff --git a/data/org.gnome.evolution.mail.gschema.xml.in b/data/org.gnome.evolution.mail.gschema.xml.in
index e711d02..86cbb12 100644
--- a/data/org.gnome.evolution.mail.gschema.xml.in
+++ b/data/org.gnome.evolution.mail.gschema.xml.in
@@ -30,5 +30,45 @@
       <_summary>Insert Face picture by default</_summary>
       <_description>Whether insert Face picture to outgoing messages by default. The picture should be set before checking this, otherwise nothing happens.</_description>
     </key>
+    <key name="notify-only-inbox" type="b">
+      <default>true</default>
+      <short>Notify new messages for Inbox only.</short>
+      <long>Whether to notify new messages in Inbox folder only.</long>
+    </key>
+    <key name="notify-dbus-enabled" type="b">
+      <default>true</default>
+      <short>Enable D-Bus messages.</short>
+      <long>Generates a D-Bus message when new mail messages arrive.</long>
+    </key>
+    <key name="notify-status-enabled" type="b">
+      <default>true</default>
+      <short>Enable icon in notification area.</short>
+      <long>Show new mail icon in notification area when new messages arrive.</long>
+    </key>
+    <key name="notify-status-notification" type="b">
+      <default>true</default>
+      <short>Popup message together with the icon.</short>
+      <long>Whether show message over the icon when new messages arrive.</long>
+    </key>
+    <key name="notify-sound-enabled" type="b">
+      <default>true</default>
+      <short>Play sound when new messages arrive.</short>
+      <long>Whether play sound or beep when new messages arrive.</long>
+    </key>
+    <key name="notify-sound-beep" type="b">
+      <default>true</default>
+      <short>Beep or play sound file.</short>
+      <long>If "true", then beep, otherwise will play sound file when new messages arrive.</long>
+    </key>
+    <key name="notify-sound-file" type="s">
+      <default>''</default>
+      <short>Sound file name to be played.</short>
+      <long>Sound file to be played when new messages arrive, if not in beep mode.</long>
+    </key>
+    <key name="notify-sound-use-theme" type="b">
+      <default>false</default>
+      <short>Use sound theme</short>
+      <long>Play themed sound when new messages arrive, if not in beep mode.</long>
+    </key>
   </schema>
 </schemalist>



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