[tor-commits] [tor-messenger-build/master] Fix toggling sounds

arlo at torproject.org arlo at torproject.org
Sun Oct 2 21:48:53 UTC 2016


commit 13da29e1067998c38e6376917cadd4bdabda56c5
Author: Arlo Breault <arlolra at gmail.com>
Date:   Sun Oct 2 14:41:45 2016 -0700

    Fix toggling sounds
    
     * The specific events should still be enabled, even though the main
       pref is disabled by default.
    
     * Trac 20276
---
 projects/instantbird/preferences.patch | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/projects/instantbird/preferences.patch b/projects/instantbird/preferences.patch
index bcca575..82b6d5d 100644
--- a/projects/instantbird/preferences.patch
+++ b/projects/instantbird/preferences.patch
@@ -18,20 +18,15 @@ diff --git a/im/app/profile/all-instantbird.js b/im/app/profile/all-instantbird.
 +pref("messenger.options.playSounds.message", false);
  // Specifies whether each message event should trigger a sound for incoming
  // and outgoing messages, or when your nickname is mentioned in a chat.
--pref("messenger.options.playSounds.outgoing", true);
--pref("messenger.options.playSounds.incoming", true);
--pref("messenger.options.playSounds.alert", true);
-+pref("messenger.options.playSounds.outgoing", false);
-+pref("messenger.options.playSounds.incoming", false);
-+pref("messenger.options.playSounds.alert", false);
+ pref("messenger.options.playSounds.outgoing", true);
+ pref("messenger.options.playSounds.incoming", true);
+ pref("messenger.options.playSounds.alert", true);
  // Whether contact list related sounds should be played at all. If this is
  // enabled then the more specific prefs are checked as well.
  pref("messenger.options.playSounds.blist", false);
  // Specifies whether sounds should be played on login/logout events.
--pref("messenger.options.playSounds.login", true);
--pref("messenger.options.playSounds.logout", true);
-+pref("messenger.options.playSounds.login", false);
-+pref("messenger.options.playSounds.logout", false);
+ pref("messenger.options.playSounds.login", true);
+ pref("messenger.options.playSounds.logout", true);
  
  pref("font.default.x-western", "sans-serif");
  pref("font.default.x-unicode", "sans-serif");



More information about the tor-commits mailing list