aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-09 15:22:42 -0400
committerKen Moore <moorekou@gmail.com>2015-07-09 15:22:42 -0400
commitf95f7af6656326bc8947a0cb9e5895c6b36f67f2 (patch)
tree4eb8c6cad8add30626629a271b390ad9d43b5454 /lumina-desktop
parentAdd knownledge of QtQuick plugins to lumina-config (diff)
downloadlumina-f95f7af6656326bc8947a0cb9e5895c6b36f67f2.tar.gz
lumina-f95f7af6656326bc8947a0cb9e5895c6b36f67f2.tar.bz2
lumina-f95f7af6656326bc8947a0cb9e5895c6b36f67f2.zip
Remove the old "forcing" of a panel with particular settings on the default/first screen. This is no longer used/needed because of the luminaDesktop.conf settings file.
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/LDesktop.cpp2
-rw-r--r--lumina-desktop/LPanel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/lumina-desktop/LDesktop.cpp b/lumina-desktop/LDesktop.cpp
index e244e4b1..80e28e59 100644
--- a/lumina-desktop/LDesktop.cpp
+++ b/lumina-desktop/LDesktop.cpp
@@ -576,7 +576,7 @@ void LDesktop::DesktopPluginRemoved(QString ID, bool internal){
void LDesktop::UpdatePanels(){
if(DEBUG){ qDebug() << " - Update Panels For Screen:" << desktopnumber; }
int panels = settings->value(DPREFIX+"panels", -1).toInt();
- if(panels==-1 && defaultdesktop){ panels=1; } //need at least 1 panel on the primary desktop
+ //if(panels==-1 && defaultdesktop){ panels=1; } //need at least 1 panel on the primary desktop
//Remove all extra panels
for(int i=0; i<PANELS.length(); i++){
if(panels <= PANELS[i]->number()){
diff --git a/lumina-desktop/LPanel.cpp b/lumina-desktop/LPanel.cpp
index 7531d53e..11a5a988 100644
--- a/lumina-desktop/LPanel.cpp
+++ b/lumina-desktop/LPanel.cpp
@@ -207,9 +207,9 @@ void LPanel::UpdatePanel(){
//Then go through the plugins and create them as necessary
QStringList plugins = settings->value(PPREFIX+"pluginlist", QStringList()).toStringList();
- if(defaultpanel && plugins.isEmpty()){
+ /*if(defaultpanel && plugins.isEmpty()){
plugins << "userbutton" << "taskmanager" << "spacer" << "systemtray" << "clock" << "systemdashboard";
- }
+ }*/
if(DEBUG){ qDebug() << " - Initialize Plugins: " << plugins; }
for(int i=0; i<plugins.length(); i++){
//Ensure this plugin has a unique ID (NOTE: this numbering does not persist between sessions)
bgstack15