diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-26 14:03:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-26 14:03:17 -0600 |
commit | 8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab (patch) | |
tree | 3329bd3d0a94c6489da7dc2ed8a46c30f5b51e01 /ksmserver | |
parent | 2f56a3448b73075ca4ae46efaa304e0f7c1100e9 (diff) | |
download | tdebase-8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab.tar.gz tdebase-8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab.zip |
Add option to use more professional looking logout dialog
Diffstat (limited to 'ksmserver')
-rw-r--r-- | ksmserver/shutdown.png | bin | 0 -> 16266 bytes | |||
-rw-r--r-- | ksmserver/shutdowndlg.cpp | 7 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ksmserver/shutdown.png b/ksmserver/shutdown.png Binary files differnew file mode 100644 index 000000000..956f6cc3d --- /dev/null +++ b/ksmserver/shutdown.png diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp index c71bd094e..13a0bb5f7 100644 --- a/ksmserver/shutdowndlg.cpp +++ b/ksmserver/shutdowndlg.cpp @@ -752,7 +752,12 @@ KSMShutdownDlg::KSMShutdownDlg( TQWidget* parent, buttonlay->setAlignment( Qt::AlignHCenter ); TQLabel* icon = new TQLabel( lfrm ); - icon->setPixmap( UserIcon( "shutdownkonq" ) ); + if (TDEConfigGroup(TDEGlobal::config(), "Logout").readBoolEntry("doNotUseKonqyPicture", false)) { + icon->setPixmap( UserIcon( "shutdown" ) ); + } + else { + icon->setPixmap( UserIcon( "shutdownkonq" ) ); + } lfrm->setFixedSize( icon->sizeHint()); icon->setFixedSize( icon->sizeHint()); |