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 118015 - Button Labels
Button Labels
Status: RESOLVED DUPLICATE of bug 335763
Product: zenity
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-07-21 19:11 UTC by Kevin C. Krinke
Modified: 2007-05-14 21:53 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Extra button patch (9.50 KB, patch)
2005-06-26 16:48 UTC, Muthiah Annamalai
none Details | Review
Test Case for extra-buttons patch. (168 bytes, text/plain)
2005-06-26 16:49 UTC, Muthiah Annamalai
  Details

Description Kevin C. Krinke 2003-07-21 19:11:33 UTC
KCK's wishlist #4:

 I'd like to be able to change the label of any of the following buttons on
 any widget: "OK", "CANCEL", "CLOSE", etc. A suitable command line option
 name would follow a pattern like --ok-label, --cancel-label, etc followed
 by a string to use as the label.
Comment 1 Stuart Langridge 2005-03-28 19:44:14 UTC
I'd also like to do this. I note that the HIG requires that button labels are
changeable: "Write button labels as imperative verbs, for example Save, Print.
This allows users to select an action with less hesitation. An active phrase
also fits best with the button's role in initiating actions, as contrasted with
a more passive phrase. For example Find and Log In are better buttons than than
Yes and OK."
(This bug should have the HIG keyword but I can't do that.)
Comment 2 Muthiah Annamalai 2005-06-22 10:11:21 UTC
working on this. shouldnt be difficult.
Comment 3 Muthiah Annamalai 2005-06-26 16:48:17 UTC
Created attachment 48362 [details] [review]
Extra button patch

adds a simple 'gtk_dialog_add_button()' code to all the 
zenity_*() API functions.
Comment 4 Muthiah Annamalai 2005-06-26 16:49:26 UTC
Created attachment 48363 [details]
Test Case for extra-buttons patch.

simple test cases to the earlier patch [48362]
Comment 5 Muthiah Annamalai 2005-06-26 17:35:13 UTC
some please move the above 2 entries to bug 118016 please. 
Sorry for the trouble.
Muthu.
Comment 6 Lucas Rocha 2007-05-14 21:53:18 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

The other bug report has more complete suggestions. Thus, marking this one as duplicate.

*** This bug has been marked as a duplicate of 335763 ***