summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-26 14:03:17 -0600
committerTimothy Pearson <[email protected]>2013-02-26 14:03:17 -0600
commit8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab (patch)
tree3329bd3d0a94c6489da7dc2ed8a46c30f5b51e01
parent2f56a3448b73075ca4ae46efaa304e0f7c1100e9 (diff)
downloadtdebase-8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab.tar.gz
tdebase-8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab.zip
Add option to use more professional looking logout dialog
-rw-r--r--ksmserver/shutdown.pngbin0 -> 16266 bytes
-rw-r--r--ksmserver/shutdowndlg.cpp7
2 files changed, 6 insertions, 1 deletions
diff --git a/ksmserver/shutdown.png b/ksmserver/shutdown.png
new file mode 100644
index 000000000..956f6cc3d
--- /dev/null
+++ b/ksmserver/shutdown.png
Binary files differ
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());