[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/privacy
From:       Ralf Hoelzer <ralf () well ! com>
Date:       2003-10-24 5:47:57
[Download RAW message or body]

CVS commit by rhoezler: 

Added warning before cleanup. Somebody please come up with a better message..


  M +3 -0      privacy.cpp   1.16


--- kdebase/kcontrol/privacy/privacy.cpp  #1.15:1.16
@@ -33,4 +33,5 @@
 #include <klistview.h>
 #include <ktextedit.h>
+#include <kmessagebox.h>
 
 
@@ -237,4 +238,6 @@ void Privacy::selectNone()
 void Privacy::cleanup()
 {
+  if (KMessageBox::warningContinueCancel(this, i18n("You are deleting data that is \
potentially valuable to you. Are you sure?")) != KMessageBox::Continue) return; +
   cleaningDialog->statusTextEdit->clear();
   cleaningDialog->statusTextEdit->setText(i18n("Starting cleanup..."));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic