sugar3.speech - remove GConf compatibility support
This commit is contained in:
parent
a07bef8be5
commit
30139a3a9e
@ -288,11 +288,6 @@ class SpeechManager(GObject.GObject):
|
|||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
self._save_timeout_id = -1
|
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 = Gio.Settings('org.sugarlabs.speech')
|
||||||
settings.set_int('pitch', self._pitch)
|
settings.set_int('pitch', self._pitch)
|
||||||
|
Loading…
Reference in New Issue
Block a user