diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-28 12:35:48 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-28 12:35:48 -0500 |
commit | 09ffe0e5e565f3fd8a8d98502508bebb94e1a63e (patch) | |
tree | f34dd309525642f1366503175445bc51a9142092 /lumina-desktop/LSession.cpp | |
parent | Also add the lumina-info utility to the i18n-projects file (so it gets added ... (diff) | |
download | lumina-09ffe0e5e565f3fd8a8d98502508bebb94e1a63e.tar.gz lumina-09ffe0e5e565f3fd8a8d98502508bebb94e1a63e.tar.bz2 lumina-09ffe0e5e565f3fd8a8d98502508bebb94e1a63e.zip |
Add knowledge of the lumina-info utility to the Lumina desktop (userbutton, config menu). Also make sure that there is a *.desktop shortcut for the application (and update the pkg-plist)
Also allow for "-<something>" to be put in the version number without messing up the version checking routine, and tag the current version on the master branch as 0.8.2-devel (once the stable/official release is branched, the "-devel" tag will get either dropped or changed to "-release" in that branch, with the master branch moving on to the next <version>-devel)
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r-- | lumina-desktop/LSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index d66ddcb4..96184c84 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -173,14 +173,14 @@ void LSession::launchStartupApps(){ } void LSession::watcherChange(QString changed){ - qDebug() << "Session Watcher Change:" << changed; + if(DEBUG){ qDebug() << "Session Watcher Change:" << changed; } if(changed.endsWith("fluxbox-init") || changed.endsWith("fluxbox-keys")){ refreshWindowManager(); } else{ emit DesktopConfigChanged(); } } void LSession::checkUserFiles(){ //version conversion examples: [1.0.0 -> 100], [1.2.0 -> 120], [0.6.0 -> 60] - int oldversion = sessionsettings->value("DesktopVersion","0").toString().remove(".").toInt(); + int oldversion = sessionsettings->value("DesktopVersion","0").toString().section("-",0,0).remove(".").toInt(); bool newversion = ( oldversion < this->applicationVersion().remove(".").toInt() ); //Check for the desktop settings file |