From 2141cb9184c20be91e469b2bd4e4bb22e57faba3 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Sat, 29 Mar 2008 22:13:50 +0000 Subject: Allow question dialogs to use custom button label text (Fixes bug 2008-03-30 Lucas Rocha Allow question dialogs to use custom button label text (Fixes bug #335763). Patch from Cosimo Cecchi and Thomas Thurman . * src/msg.c (zenity_msg_construct_question_dialog), (zenity_msg): dynamically add dialog buttons with provided labels. * src/option.c (zenity_option_free): free input labels. (zenity_question_post_callback): set button labels provided by the respective command line options. * src/zenity.glade: remove pre-defined dialog button from question dialog. * src/zenity.h: added ok_label and cancel_label to ZenityMsgData. svn path=/trunk/; revision=1346 --- ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 29745394..bc648daf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2008-03-30 Lucas Rocha + + Allow question dialogs to use custom button label text (Fixes + bug #335763). Patch from Cosimo Cecchi and + Thomas Thurman . + + * src/msg.c (zenity_msg_construct_question_dialog), (zenity_msg): + dynamically add dialog buttons with provided labels. + * src/option.c (zenity_option_free): free input labels. + (zenity_question_post_callback): set button labels provided by the + respective command line options. + * src/zenity.glade: remove pre-defined dialog button from question + dialog. + * src/zenity.h: added ok_label and cancel_label to ZenityMsgData. + 2008-03-17 Lucas Rocha * src/option.c: added arg_description for --timeout option (Fixes -- cgit