Preferences/__init__.py

branch
5_0_x
changeset 886
bb59d644fca6
parent 792
a13346916170
equal deleted inserted replaced
884:901cf274435c 886:bb59d644fca6
1003 an embedded shell and a value for an embedded file browser 1003 an embedded shell and a value for an embedded file browser
1004 """ 1004 """
1005 layout = (\ 1005 layout = (\
1006 prefClass.settings.value("UI/LayoutType", 1006 prefClass.settings.value("UI/LayoutType",
1007 prefClass.uiDefaults["LayoutType"]), 1007 prefClass.uiDefaults["LayoutType"]),
1008 toBool(prefClass.settings.value("UI/LayoutShellEmbedded", 1008 int(prefClass.settings.value("UI/LayoutShellEmbedded",
1009 prefClass.uiDefaults["LayoutShellEmbedded"])), 1009 prefClass.uiDefaults["LayoutShellEmbedded"])),
1010 toBool(prefClass.settings.value("UI/LayoutFileBrowserEmbedded", 1010 int(prefClass.settings.value("UI/LayoutFileBrowserEmbedded",
1011 prefClass.uiDefaults["LayoutFileBrowserEmbedded"])), 1011 prefClass.uiDefaults["LayoutFileBrowserEmbedded"])),
1012 ) 1012 )
1013 return layout 1013 return layout
1014 1014
1015 def setUILayout(layout, prefClass = Prefs): 1015 def setUILayout(layout, prefClass = Prefs):

eric ide

mercurial