diff options
author | Lucas Rocha <lucasr@gnome.org> | 2008-03-29 22:13:50 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2008-03-29 22:13:50 +0000 |
commit | 2141cb9184c20be91e469b2bd4e4bb22e57faba3 (patch) | |
tree | 365dfc58346aa5c3ed10b92b029d62fbd7e96b8d /data/surfboard.png | |
parent | 23eb83f5bc97bb777b9612122a9ebd3cfd6f49c0 (diff) |
Allow question dialogs to use custom button label text (Fixes bug
2008-03-30 Lucas Rocha <lucasr@gnome.org>
Allow question dialogs to use custom button label text (Fixes
bug #335763). Patch from Cosimo Cecchi <anarki@lilik.it> and
Thomas Thurman <tthurman@gnome.org>.
* 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
Diffstat (limited to 'data/surfboard.png')
0 files changed, 0 insertions, 0 deletions