Package: sugar-toolkit-gtk3 / 0.112-3

0001-sugar3.speech-remove-GConf-compatibility-support.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: James Cameron <quozl@laptop.org>
Date: Mon, 26 Mar 2018 14:35:28 +1100
Subject: sugar3.speech - remove GConf compatibility support

---
 src/sugar3/speech.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/sugar3/speech.py b/src/sugar3/speech.py
index ef80d7a..674f587 100644
--- a/src/sugar3/speech.py
+++ b/src/sugar3/speech.py
@@ -345,11 +345,6 @@ class SpeechManager(GObject.GObject):
 
     def save(self):
         self._save_timeout_id = -1
-        # DEPRECATED
-        from gi.repository import GConf
-        client = GConf.Client.get_default()
-        client.set_int('/desktop/sugar/speech/pitch', self._pitch)
-        client.set_int('/desktop/sugar/speech/rate', self._rate)
 
         settings = Gio.Settings('org.sugarlabs.speech')
         settings.set_int('pitch', self._pitch)