From 1cac8a5e1d6b6971193c78de22ba539911dcf406 Mon Sep 17 00:00:00 2001 From: Timothy Pearson <kb9vqf@pearsoncomputing.net> Date: Mon, 10 Dec 2012 03:03:12 -0600 Subject: Fix kompmgr shadow support Add kompmgr settings reload method to twin DCOP Fix up kompmgr kcontrol module Make default TDM login screen appearance more like the rest of the TDE login system --- tdm/kfrontend/kgreeter.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tdm/kfrontend') diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp index 97c6f2588..77b827ff2 100644 --- a/tdm/kfrontend/kgreeter.cpp +++ b/tdm/kfrontend/kgreeter.cpp @@ -40,6 +40,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include <ksimpleconfig.h> #include <kstringhandler.h> #include <kdebug.h> +#include <kdialog.h> #undef Unsorted // x headers suck - make tqdir.h work with --enable-final #include <tqdir.h> @@ -908,11 +909,21 @@ KStdGreeter::KStdGreeter() complainLabel->setPaletteForegroundColor( Qt::red ); inner_box->addWidget( complainLabel ); } + if (_logoArea == LOGO_NONE) { + KSMModalDialogHeader *theader = new KSMModalDialogHeader(this); + inner_box->addWidget( theader, AlignCenter ); + } if (!_greetString.isEmpty()) { TQLabel *welcomeLabel = new TQLabel( _greetString, this ); welcomeLabel->setAlignment( AlignCenter ); welcomeLabel->setFont( _greetFont ); inner_box->addWidget( welcomeLabel ); + if (_logoArea == LOGO_NONE) { + // Match caps lock warning font size + TQLabel *spacerLabel = new TQLabel( " ", this ); + spacerLabel->setFont( _failFont ); + inner_box->addWidget( spacerLabel, AlignCenter ); + } } switch (_logoArea) { -- cgit v1.2.1