From 32af6356e15446d73039037850d2f9620c9bf087 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 11 Jun 2015 10:28:19 -0400 Subject: Update the luminaDesktop.conf file format/syntax a bit. Now it uses "_" as the separation character in variables instead of ".", allowing compatibility with libUCL. (Note: it will still detect the "." separation in variables for backwards compatibility at the moment - might remove this compat once we get ready for 1.0-release in the distant future). Also add a couple new panel options (pinlocation, edgepercent) allowing the panel to bet setup in a particular location on the designated screen edge. --- libLumina/LuminaUtils.cpp | 142 ++++++++++++++++++++++++---------------------- 1 file changed, 73 insertions(+), 69 deletions(-) (limited to 'libLumina/LuminaUtils.cpp') diff --git a/libLumina/LuminaUtils.cpp b/libLumina/LuminaUtils.cpp index 776b73ed..7d53af3e 100644 --- a/libLumina/LuminaUtils.cpp +++ b/libLumina/LuminaUtils.cpp @@ -283,8 +283,10 @@ void LUtils::LoadSystemDefaults(bool skipOS){ } //Now setup the default "desktopsettings.conf" and "sessionsettings.conf" files QStringList deskset, sesset, lopenset; - //First start with any session settings - QStringList tmp = sysDefaults.filter("session."); + + // -- SESSION SETTINGS -- + QStringList tmp = sysDefaults.filter("session_"); + if(tmp.isEmpty()){ tmp = sysDefaults.filter("session."); }//for backwards compat sesset << "[General]"; //everything is in this section sesset << "DesktopVersion="+LUtils::LuminaDesktopVersion(); for(int i=0; i