summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-25 08:34:19 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-25 08:34:19 -0500
commit704eedf364cefe87cf5c63cb61a3c6051a37a585 (patch)
treeee1ba694ad783a3a4ab4fadbb831a2e98c8e3f73 /tdm
parent33dc3f2d3960e4a7e5d51b00a6e511a7e326d36f (diff)
parent1c7bdfda1e7c768525a73d1ca104db53ff1cec10 (diff)
downloadtdebase-704eedf364cefe87cf5c63cb61a3c6051a37a585.tar.gz
tdebase-704eedf364cefe87cf5c63cb61a3c6051a37a585.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'tdm')
-rw-r--r--tdm/kfrontend/kgreeter.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp
index bffcc5d6d..0d89b065c 100644
--- a/tdm/kfrontend/kgreeter.cpp
+++ b/tdm/kfrontend/kgreeter.cpp
@@ -663,10 +663,12 @@ void // private
KGreeter::setPrevWM( int wm )
{
if (curPrev != wm) {
- if (curPrev != -1)
+ if (curPrev != -1) {
sessMenu->changeItem( curPrev, sessionTypes[curPrev].name );
- if (wm != -1)
+ }
+ if (wm != -1) {
sessMenu->changeItem( wm, sessionTypes[wm].name + i18n(" (previous)") );
+ }
curPrev = wm;
}
}
@@ -802,7 +804,6 @@ KGreeter::verifyOk()
GSendInt( G_PutDmrc );
GSendStr( "Session" );
GSendStr( "default" );
- curWMSession = sessionTypes[curSel].type.utf8();
}
GSendInt( G_Ready );
closingDown = true;
@@ -812,8 +813,9 @@ KGreeter::verifyOk()
void
KGreeter::verifyFailed()
{
- if (needLoad)
+ if (needLoad) {
slotLoadPrevWM();
+ }
}
void