diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-21 16:20:30 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-21 16:20:30 -0400 |
commit | ee81bb74542b8198b35034208dca8c5ae2465528 (patch) | |
tree | 5c49f79099727fb4a4ca8f548be86e3fce6e7fc8 /lumina-desktop/LDesktopPluginSpace.cpp | |
parent | Tag version 0.8.7-Release in sources (diff) | |
download | lumina-ee81bb74542b8198b35034208dca8c5ae2465528.tar.gz lumina-ee81bb74542b8198b35034208dca8c5ae2465528.tar.bz2 lumina-ee81bb74542b8198b35034208dca8c5ae2465528.zip |
A couple quick fixes for desktop icons:
1) In the Applauncher plugin, have it send the removal signal if the file it is supposed to load does not exist.
2) Fix the loading of plugins - always go forwards when searching for a new spot - not backwards (will switch to backwards automatically as necessary).
Diffstat (limited to 'lumina-desktop/LDesktopPluginSpace.cpp')
-rw-r--r-- | lumina-desktop/LDesktopPluginSpace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/LDesktopPluginSpace.cpp b/lumina-desktop/LDesktopPluginSpace.cpp index abb16fc0..cb0cc75f 100644 --- a/lumina-desktop/LDesktopPluginSpace.cpp +++ b/lumina-desktop/LDesktopPluginSpace.cpp @@ -113,7 +113,7 @@ void LDesktopPluginSpace::addDesktopPlugin(QString plugID){ geom = findOpenSpot(geom.width(), geom.height() ); }else if(!ValidGeometry(plugID, gridToGeom(geom)) ){ //Find a new location for the plugin (saved location is invalid) - geom = findOpenSpot(geom.width(), geom.height(), geom.y(), geom.x(), true); //try to get it within the same general area (go backwards) + geom = findOpenSpot(geom.width(), geom.height(), geom.y(), geom.x(), false); //try to get it within the same general area first } if(geom.x() < 0 || geom.y() < 0){ qDebug() << "No available space for desktop plugin:" << plugID << " - IGNORING"; |