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

List:       kde-usability
Subject:    Re: KPersonalizer usability discussion
From:       Carsten Wolff <AirWulf666 () gmx ! net>
Date:       2002-09-05 12:57:18
[Download RAW message or body]

On Monday 02 September 2002 15:52, Carsten Wolff wrote:
> I think, this is a good variant. Unfortunately, we are now in message
> freeze, so we have to delay that till after release.

Since the freeze-period got delayed, we are free to make the change now. 
Please check the attached diff for spelling errors and tell me about them, 
I'll commit soon.

Greetings, Carsten.

-- 
| THE K Desktop Environment: |  My very own little site:  |
|     http://www.kde.org     | http://www.wolffcarsten.de |
|       wolff@kde.org        |                            |

["kpersonalizer.diff" (text/x-diff)]

--- cvs/kde_HEAD/kdebase/kpersonalizer/kpersonalizer.cpp	2002-08-20 \
                14:50:40.000000000 +0200
+++ cvs_compile/kde_head/kde_HEAD/kdebase/kpersonalizer/kpersonalizer.cpp	2002-09-05 \
14:53:20.000000000 +0200 @@ -139,22 +139,25 @@
 
 bool KPersonalizer::askClose(){
 	QString text;
-	text = i18n("Are you sure you want to quit the personalizer?\n"
-				"If not, press 'Cancel'.\n"
-				"To quit and keep the current settings, press 'Quit & Keep'.\n"
-				"To quit and revert all settings to those before KPersonalizer started, press \
                'Quit & Revert'.\n"
-				"This wizard can be restarted at any time by selecting 'K->System->Desktop \
                Settings Wizard'.\n");
-	int status = KMessageBox::warningYesNoCancel(this,  text, i18n("Really Quit?"), \
                i18n("Quit && &Keep"), i18n("Quit && &Revert"));
-	if(status==KMessageBox::Yes){
-		return true;
+	if (currentPage()==countrypage) {
+		text = i18n("Are you sure you want to quit the Desktop Settings Wizard?\n \
+		             The Desktop Settings Wizard helps you to configure the KDE \
+		             desktop to your personal liking.\n \
+		             Press 'Cancel' to return and finish your setup.");
+	} else {
+		text = i18n("Are you sure you want to quit the Desktop Settings Wizard?\n \
+		             If yes, press 'Quit' and all changes will be lost.\n \
+		             If not, press 'Cancel' to return and finish your setup.");
 	}
-	if(status==KMessageBox::No){
+	int status = KMessageBox::warningContinueCancel(this,  text, i18n("All changes will \
be lost!"), i18n("&Quit")); +	if(status==KMessageBox::Continue){
 		setDefaults();
 		return true;
-	}
-	else
+	} else {
 		return false;
+	}
 }
+
 /** the cancel button is connected to the reject() slot of QDialog,
  *  so we have to reimplement this here to add a dialogbox to ask if we
  *  really want to quit the wizard.


_______________________________________________
kde-usability mailing list
kde-usability@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-usability

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

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