[orca/new-settings: 24/25] Changed some wrong default values at the gconf backend methods
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings: 24/25] Changed some wrong default values at the gconf backend methods
- Date: Mon, 20 Sep 2010 10:18:39 +0000 (UTC)
commit 8cd4b28f5abf01953917bf4827cdab09a20a8c5e
Author: Juanje Ojeda <jojeda emergya es>
Date: Mon Sep 20 12:15:51 2010 +0200
Changed some wrong default values at the gconf backend methods
src/orca/backends/gconf_backend.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/orca/backends/gconf_backend.py b/src/orca/backends/gconf_backend.py
index 1e95fb2..099c023 100644
--- a/src/orca/backends/gconf_backend.py
+++ b/src/orca/backends/gconf_backend.py
@@ -283,10 +283,10 @@ class OrcaPrefs():
def _getKeyboardLayoutString(self, keyboardLayout):
"""Returns a string that represents the keyboard layout passed in."""
- if keyboardLayout == settings.GENERAL_KEYBOARD_LAYOUT_DESKTOP:
- return "orca.settings.GENERAL_KEYBOARD_LAYOUT_DESKTOP"
- else:
+ if keyboardLayout == settings.GENERAL_KEYBOARD_LAYOUT_LAPTOP:
return "orca.settings.GENERAL_KEYBOARD_LAYOUT_LAPTOP"
+ else:
+ return "orca.settings.GENERAL_KEYBOARD_LAYOUT_DESKTOP"
def _getOrcaModifierKeysString(self, orcaModifierKeys):
"""Returns a string that represents the Orca modifier keys passed in."""
@@ -338,7 +338,7 @@ class OrcaPrefs():
elif selectionIndicator == settings.BRAILLE_SEL_BOTH:
return "orca.settings.BRAILLE_SEL_BOTH"
else:
- return "orca.settings.BRAILLE_SEL_NONE"
+ return "orca.settings.BRAILLE_SEL_BOTH"
def _getBrailleLinkIndicatorString(self, linkIndicator):
"""Returns a string that represents the braille link indicator
@@ -353,7 +353,7 @@ class OrcaPrefs():
elif linkIndicator == settings.BRAILLE_LINK_BOTH:
return "orca.settings.BRAILLE_LINK_BOTH"
else:
- return "orca.settings.BRAILLE_LINK_NONE"
+ return "orca.settings.BRAILLE_LINK_BOTH"
def _getVerbosityString(self, verbosityLevel):
"""Returns a string that represents the verbosity level passed in."""
@@ -398,7 +398,7 @@ class OrcaPrefs():
elif punctuationStyle == settings.PUNCTUATION_STYLE_ALL:
return "orca.settings.PUNCTUATION_STYLE_ALL"
else:
- return "orca.settings.PUNCTUATION_STYLE_ALL"
+ return "orca.settings.PUNCTUATION_STYLE_MOST"
def _getPresentTimeString(self, val):
if val == settings.TIME_FORMAT_24_HMS:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]