Bug 53671 - warning message on closing modified documents should be changed
Summary: warning message on closing modified documents should be changed
Status: RESOLVED FIXED
Alias: None
Product: koffice
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KOffice List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 16:37 UTC by Ferdinand Gassauer
Modified: 2003-02-03 10:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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) {