aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-05-23 07:51:47 -0400
committerKen Moore <ken@pcbsd.org>2015-05-23 07:51:47 -0400
commit069ca77ea9f01c0c7adbbce10ca2767615445452 (patch)
tree5bccd22f69904cc99df82a8a19030d097cb26ea7 /lumina-desktop
parentFix the random issue with desktop crashes when removing a desktop plugin (onl... (diff)
downloadlumina-069ca77ea9f01c0c7adbbce10ca2767615445452.tar.gz
lumina-069ca77ea9f01c0c7adbbce10ca2767615445452.tar.bz2
lumina-069ca77ea9f01c0c7adbbce10ca2767615445452.zip
Add a new "phase" into the boot splash - system applications loading.
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/BootSplash.cpp19
-rw-r--r--lumina-desktop/LSession.cpp3
2 files changed, 13 insertions, 9 deletions
diff --git a/lumina-desktop/BootSplash.cpp b/lumina-desktop/BootSplash.cpp
index 93180e5b..5ac45a32 100644
--- a/lumina-desktop/BootSplash.cpp
+++ b/lumina-desktop/BootSplash.cpp
@@ -15,25 +15,28 @@ void BootSplash::showScreen(QString loading){ //update icon, text, and progress
QString txt, icon;
int per = 0;
if(loading=="init"){
- txt = tr("Initializing Session..."); per = 11;
+ txt = tr("Initializing Session..."); per = 10;
icon = "preferences-system-login";
}else if(loading=="settings"){
- txt = tr("Loading Settings..."); per = 22;
+ txt = tr("Loading Settings..."); per = 20;
icon = "user-home";
}else if(loading=="user"){
- txt = tr("Checking User Settings..."); per = 33;
+ txt = tr("Checking User Settings..."); per = 30;
icon = "preferences-desktop-user";
}else if(loading=="systray"){
- txt = tr("Registering System Tray..."); per = 44;
+ txt = tr("Registering System Tray..."); per = 40;
icon = "preferences-plugin";
}else if(loading=="wm"){
- txt = tr("Starting Window Manager..."); per = 55;
+ txt = tr("Starting Window Manager..."); per = 50;
icon = "preferences-system-windows-actions";
}else if(loading=="desktop"){
- txt = tr("Initializing Desktop(s)..."); per = 66;
- icon = "preferences-desktop-wallpaper";
+ txt = tr("Initializing Desktop(s)..."); per = 60;
+ icon = "preferences-desktop-wallpaper";
+ }else if(loading=="apps"){
+ txt = tr("Detecting System Applications..."); per = 70;
+ icon = "preferences-desktop-icons";
}else if(loading=="menus"){
- txt = tr("Initializing System Menu(s)..."); per = 77;
+ txt = tr("Initializing System Menu(s)..."); per = 80;
icon = "preferences-system-windows";
}else if(loading=="final"){
txt = tr("Performing Final Checks..."); per = 90;
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp
index 59e6fe57..fd2b16b3 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -115,10 +115,11 @@ void LSession::setupSession(){
//Initialize the global menus
qDebug() << " - Initialize system menus";
- splash.showScreen("menus");
+ splash.showScreen("apps");
if(DEBUG){ qDebug() << " - Init AppMenu:" << timer->elapsed();}
appmenu = new AppMenu();
if(DEBUG){ qDebug() << " - Init SettingsMenu:" << timer->elapsed();}
+ splash.showScreen("menus");
settingsmenu = new SettingsMenu();
if(DEBUG){ qDebug() << " - Init SystemWindow:" << timer->elapsed();}
sysWindow = new SystemWindow();
bgstack15