After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 353193 - Ok/Cancel buttons should be Discard/Cancel
Ok/Cancel buttons should be Discard/Cancel
Status: RESOLVED FIXED
Product: istanbul
Classification: Other
Component: general
0.2.0
Other Linux
: Normal enhancement
: ---
Assigned To: Istanbul maintainers
Istanbul QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-28 08:40 UTC by Luca Bruno
Modified: 2006-10-27 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to implement the buttons naming changes (4.11 KB, patch)
2006-09-06 11:33 UTC, Bas Wijnen
none Details | Review
Cleaned patch (1.29 KB, patch)
2006-09-06 12:03 UTC, Bas Wijnen
none Details | Review

Description Luca Bruno 2006-08-28 08:40:41 UTC
I've got a report from a Debian user, who suggested to change the OK button with discard when discarding a record.

Please read http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383153. 
I've included the report below:

*******
When pressing cancel after a recording (without first saving), there is
a warning that you'll lose data.  The buttons under it are Ok and
Cancel.  Since many people only read the buttons, this is not very
useful.  It would be better to have them named Discard and Cancel
(Discard is a Gtk Stock button as well, I think).
*******
Comment 1 Bas Wijnen 2006-09-06 11:31:45 UTC
I'm the Debian user, and I heard that a patch would be welcome.  I'll attach it to this report.  I thought there was a stock "discard" button, but appearantly there isn't, so I just used the text "Discard" without an icon.

Also, I haven't been able to test it, since for some reason recording doesn't work at all for me anymore lately.  I think that's a bug in gstreamer though.  It compiles fine though, so I suppose it should be ok.

The patch also changes the "Cancel" button in the normal dialog to close, because you need to use it after saving.  If the dialog would automatically close after save, "Cancel" would be appropriate, but in this case it isn't IMO.  But if you disagree, of course just don't change it. :-)
Comment 2 Bas Wijnen 2006-09-06 11:33:05 UTC
Created attachment 72306 [details] [review]
patch to implement the buttons naming changes
Comment 3 Bas Wijnen 2006-09-06 12:01:25 UTC
Comment on attachment 72306 [details] [review]
patch to implement the buttons naming changes

Sorry about the junk, I forgot to save the cleaned version of the patch before sending it.  Please ignore the "Only in" lines, and the configuration part.
Comment 4 Bas Wijnen 2006-09-06 12:03:11 UTC
Created attachment 72308 [details] [review]
Cleaned patch

Or better, here's the cleaned version of the patch. :-)
Comment 5 Wouter Bolsterlee (uws) 2006-10-27 16:04:23 UTC
Mind if I commit this to CVS, zaheer?
Comment 6 Wouter Bolsterlee (uws) 2006-10-27 16:16:45 UTC
Thanks, I've committed a slightly modified version of your patch.

2006-10-27  Wouter Bolsterlee  <wbolster@cvs.gnome.org>

    * istanbul/main/save_window.py:
    Use better button labels. Fixes bug #353193.
    (I also fixed some tabs vs. spaces problems)