[orca] Remove more unused code
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove more unused code
- Date: Sun, 13 May 2012 04:39:37 +0000 (UTC)
commit d7bf28a4a467101e9bd76aa6a293d13fec917461
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun May 13 00:39:46 2012 -0400
Remove more unused code
src/orca/orca_console_prefs.py | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/orca/orca_console_prefs.py b/src/orca/orca_console_prefs.py
index b1b3f52..7558ad5 100644
--- a/src/orca/orca_console_prefs.py
+++ b/src/orca/orca_console_prefs.py
@@ -34,24 +34,12 @@ from . import settings
from . import speech
from . import speechserver
-import orca # Deal with this during final Python 3 conversion
-
-desktopRunning = False
-try:
- from gi.repository import Gdk
- if Gdk.Display.get_default():
- desktopRunning = True
-except:
- pass
-
from .orca_i18n import _
workingFactories = []
speechServerChoice = None
speechVoiceChoice = None
-_settingsManager = getattr(orca, '_settingsManager')
-
# Translators: this is a regular expression that is intended to match
# a positive 'yes' response from a user at the command line. The expression
# as given means - does it begin with (that's the '^' character) any of
@@ -541,14 +529,11 @@ def showPreferencesUI(commandLineSettings):
stop = True
- _settingsManager.setFirstStart(False)
-
# Sanity check for bug #642285
#
if 'profile' not in prefsDict:
prefsDict['profile'] = settings.profile
- _settingsManager.saveSettings(prefsDict, {}, {})
answer = sayAndPrint(_("Setup complete. Press Return to continue."),
True,
True,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]