sugar3.speech - remove GConf compatibility support

This commit is contained in:
James Cameron 2018-03-26 14:35:28 +11:00
parent a07bef8be5
commit 30139a3a9e

View File

@ -288,11 +288,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)