aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-10-30 14:29:32 -0400
committerKen Moore <ken@pcbsd.org>2014-10-30 14:29:32 -0400
commit10aa0b0ffb77023f3828486aeefcdfbf91cca7b7 (patch)
tree569ecdaaab76abfa603856b9280b0a02db70e811 /lumina-desktop/panel-plugins
parentFor the system tray, only have it make changes when doing the whole check: do... (diff)
downloadlumina-10aa0b0ffb77023f3828486aeefcdfbf91cca7b7.tar.gz
lumina-10aa0b0ffb77023f3828486aeefcdfbf91cca7b7.tar.bz2
lumina-10aa0b0ffb77023f3828486aeefcdfbf91cca7b7.zip
Large quality of life update to Lumina:
1) Fix up the applauncher desktop plugins so that the initial sizing is sane. 2) Completely remove all global static variables from the session. 3) Re-enable the login/logout chimes (works properly without static variables) 4) Streamline the desktop background rotation algorithms a bit. 5) Greatly streamline the Session start procedure (50% to 75% faster on my computer here) 6) Make sure the background wallpaper does not rotate every time the desktop settings file changes (only when the backgrounds for that desktop are changed, or the rotation timer goes off)
Diffstat (limited to 'lumina-desktop/panel-plugins')
-rw-r--r--lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp2
-rw-r--r--lumina-desktop/panel-plugins/userbutton/UserWidget.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp b/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp
index 6314a9eb..787ad0f0 100644
--- a/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp
+++ b/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp
@@ -158,5 +158,5 @@ QString LSysMenuQuick::getRemainingTime(){
void LSysMenuQuick::startLogout(){
emit CloseMenu();
- LSession::systemWindow();
+ LSession::handle()->systemWindow();
}
diff --git a/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp b/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp
index ef5f271c..4c2f00d9 100644
--- a/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp
+++ b/lumina-desktop/panel-plugins/userbutton/UserWidget.cpp
@@ -13,7 +13,7 @@ UserWidget::UserWidget(QWidget* parent) : QTabWidget(parent), ui(new Ui::UserWid
ui->setupUi(this);
if(parent!=0){ parent->setMouseTracking(true); }
this->setMouseTracking(true);
- sysapps = LSession::applicationMenu()->currentAppHash(); //get the raw info
+ sysapps = LSession::handle()->applicationMenu()->currentAppHash(); //get the raw info
//Setup the Icons
// - favorites tab
this->setTabIcon(0, rotateIcon(LXDG::findIcon("favorites","")) );
@@ -125,7 +125,7 @@ void UserWidget::UpdateMenu(){
updateFavItems();
ui->label_home_dir->setWhatsThis(QDir::homePath());
updateHome();
- if(lastUpdate < LSession::applicationMenu()->lastHashUpdate || lastUpdate.isNull()){
+ if(lastUpdate < LSession::handle()->applicationMenu()->lastHashUpdate || lastUpdate.isNull()){
updateAppCategories();
updateApps();
}
bgstack15