Preferences/__init__.py

branch
5_1_x
changeset 1420
5ffa91a5bf4c
parent 1124
0663c41e24b9
child 1426
6f788822a83e
--- a/Preferences/__init__.py	Fri Nov 04 13:28:38 2011 +0100
+++ b/Preferences/__init__.py	Fri Nov 04 17:00:46 2011 +0100
@@ -29,7 +29,7 @@
 import QScintilla.Lexers
 
 from Globals import settingsNameOrganization, settingsNameGlobal, settingsNameRecent, \
-    isWindowsPlatform, isLinuxPlatform
+    isWindowsPlatform, isLinuxPlatform, isMacPlatform
 
 from Project.ProjectBrowserFlags import SourcesBrowserFlag, FormsBrowserFlag, \
     ResourcesBrowserFlag, TranslationsBrowserFlag, InterfacesBrowserFlag, \
@@ -201,6 +201,8 @@
         "LogStdErrColour" : QtGui.QColor(QtCore.Qt.red),
     }
     viewProfilesLength = len(uiDefaults["ViewProfiles"]["edit"][2])
+    if isMacPlatform():
+        uiDefaults["ViewManager"] = "listspace"
     
     iconsDefaults = {
         "Path" : [],

eric ide

mercurial