Fixed an issue reading the correct values for the layout parameters.

Mon, 07 Feb 2011 19:06:24 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Feb 2011 19:06:24 +0100
changeset 887
ccc601bc1faf
parent 885
e997d2f41dea
child 888
16cecff8614d

Fixed an issue reading the correct values for the layout parameters.

Preferences/__init__.py file | annotate | diff | comparison | revisions
diff -r e997d2f41dea -r ccc601bc1faf Preferences/__init__.py
--- a/Preferences/__init__.py	Sun Feb 06 18:42:06 2011 +0100
+++ b/Preferences/__init__.py	Mon Feb 07 19:06:24 2011 +0100
@@ -758,7 +758,8 @@
     # defaults for tray starter
     trayStarterDefaults = {
         "TrayStarterIcon" : "erict.png",
-        # valid values are: erict.png, erict-hc.png, erict-bw.png, erict-bwi.png
+        # valid values are: erict.png, erict-hc.png,
+        #                   erict-bw.png, erict-bwi.png
     }
     
     # defaults for geometry
@@ -1077,9 +1078,9 @@
     layout = (
         prefClass.settings.value("UI/LayoutType", 
             prefClass.uiDefaults["LayoutType"]), 
-        toBool(prefClass.settings.value("UI/LayoutShellEmbedded", 
+        int(prefClass.settings.value("UI/LayoutShellEmbedded", 
             prefClass.uiDefaults["LayoutShellEmbedded"])), 
-        toBool(prefClass.settings.value("UI/LayoutFileBrowserEmbedded", 
+        int(prefClass.settings.value("UI/LayoutFileBrowserEmbedded", 
             prefClass.uiDefaults["LayoutFileBrowserEmbedded"])), 
     )
     return layout

eric ide

mercurial