diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-03 17:10:10 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-03 17:10:10 -0500 |
commit | d85d82bd00b3a5f49569bf99fd0ad8a3df0dc234 (patch) | |
tree | ab8841a32934f6b8f1b7eb043dca4221853d6074 /ksmserver/shutdowndlg.cpp | |
parent | 682dadf9bbd25d76c524a35263e89b93afe97580 (diff) | |
download | tdebase-d85d82bd00b3a5f49569bf99fd0ad8a3df0dc234.tar.gz tdebase-d85d82bd00b3a5f49569bf99fd0ad8a3df0dc234.zip |
Provide visual indication of SaveYourself hang protection timer
Reduce hang protection timer to 20 seconds
This relates to Bug 760
Diffstat (limited to 'ksmserver/shutdowndlg.cpp')
-rw-r--r-- | ksmserver/shutdowndlg.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp index 6526bc4b8..e171170fa 100644 --- a/ksmserver/shutdowndlg.cpp +++ b/ksmserver/shutdowndlg.cpp @@ -1219,13 +1219,18 @@ void KSMShutdownIPDlg::hideNotificationActionButtons() m_gridlayout->invalidate(); } +void KSMShutdownIPDlg::setNotificationActionButtonsSkipText(TQString text) +{ + m_button1->setText(text); +} + KSMShutdownIPDlg::KSMShutdownIPDlg(TQWidget* parent) : KSMModalDialog( parent ) { setStatusMessage(i18n("Saving your settings...")); - m_button1->setText(i18n("Skip Notification")); + setNotificationActionButtonsSkipText(i18n("Skip Notification")); m_button2->setText(i18n("Abort Logout")); connect(m_button1, SIGNAL(clicked()), this, SIGNAL(skipNotificationClicked())); connect(m_button2, SIGNAL(clicked()), this, SIGNAL(abortLogoutClicked())); |