[orca/new-settings] Fix crash at first start
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Fix crash at first start
- Date: Fri, 29 Oct 2010 17:47:46 +0000 (UTC)
commit 36ef47098e442a4465e5001c1c255ee1ada1a785
Author: Juanje Ojeda <jojeda emergya es>
Date: Fri Oct 29 19:42:20 2010 +0200
Fix crash at first start
src/orca/settings_manager.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index 7736308..5f8a9a3 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -98,7 +98,8 @@ class SettingsManager():
self._setDefaultKeybindings()
self.defaultGeneralValues = getRealValues(self.defaultGeneral)
self.general = self.defaultGeneralValues.copy()
- self.general.update(self._backend.getGeneral())
+ if not self.isFirstStart():
+ self.general.update(self._backend.getGeneral())
self.pronunciations = self.defaultPronunciations.copy()
self.keybindings = self.defaultKeybindings.copy()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]