Bug 53671

Summary: warning message on closing modified documents should be changed
Product: [Applications] koffice Reporter: Ferdinand Gassauer <gassauer>
Component: generalAssignee: KOffice List <koffice-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ferdinand Gassauer 2003-01-30 16:37:04 UTC
Version:            (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 2.95.2 19991024 (release)
OS:          Linux (i686) release 2.2.19

Hi!
the buttons are "YES" "NO" "CANCEL" and should be changed to "SAVE" and "DISCARD" to bring it into line with KDE 3.1 messages (kwrite..) and the KDE guidelines.
cu
ferdinand
Comment 1 Clarence Dang 2003-02-03 10:04:16 UTC
Subject: koffice/lib/kofficecore

CVS commit by dang: 


Yes/No/Cancel -> Save/Discard/Cancel, should close #53671
CCMAIL: 53671-close@bugs.kde.org


  M +4 -1      koMainWindow.cc   1.285


--- koffice/lib/kofficecore/koMainWindow.cc  #1.284:1.285
@@ -758,5 +758,8 @@ bool KoMainWindow::queryClose()
 
         int res = KMessageBox::warningYesNoCancel( 0L,
-                        i18n( "<p>The document <b>'%1'</b> has been modified.</p><p>Do you want to save it?</p>" ).arg(name));
+                        i18n( "<p>The document <b>'%1'</b> has been modified.</p><p>Do you want to save it?</p>" ).arg(name),
+                        QString::null,
+                        KStdGuiItem::save(),
+                        KStdGuiItem::discard());
 
         switch(res) {