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 611297 - Add options to change the ok and cancel buttons' labels for text entries
Add options to change the ok and cancel buttons' labels for text entries
Status: RESOLVED FIXED
Product: zenity
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-27 15:22 UTC by Emilio Pozuelo Monfort
Modified: 2011-07-26 17:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add options to change the button labels for an entry (3.31 KB, patch)
2010-02-27 15:31 UTC, Emilio Pozuelo Monfort
none Details | Review

Description Emilio Pozuelo Monfort 2010-02-27 15:22:59 UTC
[ Forwarded from http://bugs.debian.org/534264 ]

Would be useful to be able to change the entry buttons' labels.
Comment 1 Emilio Pozuelo Monfort 2010-02-27 15:31:05 UTC
Created attachment 154846 [details] [review]
Add options to change the button labels for an entry

From e3b1dc554e24b9b4b55c03daa6cc3f424557ea6a Mon Sep 17 00:00:00 2001
From: Emilio Pozuelo Monfort <pochu27@gmail.com>
Date: Sat, 27 Feb 2010 16:24:40 +0100
Subject: [PATCH] Add options to change the button labels for an entry

https://bugzilla.gnome.org/show_bug.cgi?id=611297
---
 src/entry.c  |    9 +++++++++
 src/option.c |   26 ++++++++++++++++++++++++++
 src/zenity.h |    2 ++
 3 files changed, 37 insertions(+), 0 deletions(-)
Comment 2 Emilio Pozuelo Monfort 2010-02-27 15:32:11 UTC
BTW zenity_option_free() doesn't need to check if values are not null to g_free() them as g_free() is NULL-safe. I can change that if wanted too.
Comment 3 Arx Cruz 2010-10-13 15:04:22 UTC
Would be nice if we have this option for the others windows in zenity.
Do you want to make a new patch?
Comment 4 Emilio Pozuelo Monfort 2010-10-13 17:42:44 UTC
Not really, but feel free to take make it on top of my previous one if you want.
Comment 5 Arx Cruz 2011-07-26 17:04:07 UTC
Committed on master