[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/ksysguard/gui
From: Stephan Binner <binner () kde ! org>
Date: 2004-07-11 12:49:33
Message-ID: 20040711124933.1C20D16B1A () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
warningContinueCancel++
M +3 -2 KSysGuardApplet.cc 1.50
M +3 -2 WorkSheet.cc 1.80
--- kdebase/ksysguard/gui/KSysGuardApplet.cc #1.49:1.50
@@ -240,6 +240,7 @@ void KSysGuardApplet::customEvent( QCust
{
if ( e->type() == QEvent::User ) {
- if ( KMessageBox::warningYesNo( this,
- i18n( "Do you really want to delete the display?" ) ) == KMessageBox::Yes ) {
+ if ( KMessageBox::warningContinueCancel( this,
+ i18n( "Do you really want to delete the display?" ), i18n("Delete Display"),
+ KStdGuiItem::del() ) == KMessageBox::Continue ) {
// SensorDisplays send out this event if they want to be removed.
removeDisplay( (KSGRD::SensorDisplay*)e->data() );
--- kdebase/ksysguard/gui/WorkSheet.cc #1.79:1.80
@@ -450,6 +450,7 @@ void WorkSheet::customEvent( QCustomEven
if ( e->type() == QEvent::User ) {
// SensorDisplays send out this event if they want to be removed.
- if ( KMessageBox::warningYesNo( this, i18n( "Do you really want to delete the display?" ) )
- == KMessageBox::Yes ) {
+ if ( KMessageBox::warningContinueCancel( this, i18n( "Do you really want to delete the display?" ),
+ i18n("Delete Display"), KStdGuiItem::del() )
+ == KMessageBox::Continue ) {
removeDisplay( (KSGRD::SensorDisplay*)e->data() );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic