Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2142)

Unified Diff: spyderlib/plugins/configdialog.py

Issue 10866043: Spyder IDE changeset 2869
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | spyderlib/utils/external/lockfile.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: spyderlib/plugins/configdialog.py
===================================================================
--- a/spyderlib/plugins/configdialog.py
+++ b/spyderlib/plugins/configdialog.py
@@ -689,15 +689,7 @@
margins_layout.addWidget(margin_spin)
# Decide if it's possible to activate or not singie instance mode
- if os.name == 'nt':
- pywin32_present = programs.is_module_installed('win32api')
- if not pywin32_present:
- self.set_option("single_instance", False)
- single_instance_box.setEnabled(False)
- tip = _("This feature requires the pywin32 module.\n"
- "It seems you don't have it installed.")
- single_instance_box.setToolTip(tip)
- elif sys.platform == "darwin" and 'Spyder.app' in __file__:
+ if sys.platform == "darwin" and 'Spyder.app' in __file__:
self.set_option("single_instance", True)
single_instance_box.setEnabled(False)
« no previous file with comments | « no previous file | spyderlib/utils/external/lockfile.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b