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

List:       kde-commits
Subject:    kdeaccessibility/kmouth/phrasebook
From:       Olaf Jan Schmidt <olaf () amen-online ! de>
Date:       2003-10-23 7:17:23
[Download RAW message or body]

CVS commit by ojschmidt: 

Improve consistency with other KDE apps


  M +2 -3      phrasebookdialog.cpp   1.14


--- kdeaccessibility/kmouth/phrasebook/phrasebookdialog.cpp  #1.13:1.14
@@ -524,9 +524,8 @@ void PhraseBookDialog::currentChanged (Q
 bool PhraseBookDialog::queryClose() {
    if (phrasebookChanged) {
-      KGuiItem no = KGuiItem (i18n("Do &Not Save"));
       int answer = KMessageBox::questionYesNoCancel (this,
-          i18n("Do you want to save the changes of the phrase book?"),
+          i18n("There are unsaved changes.<br>Do you want to apply the changes \
before closing the \"phrase book\" window or discard the changes?"),  i18n("Closing \
                \"Phrase Book\" Window"),
-          KStdGuiItem::yes(), no, "AutomaticSave");
+          KStdGuiItem::apply(), KStdGuiItem::discard(), "AutomaticSave");
       if (answer == KMessageBox::Yes) {
          slotSave();


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

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