summaryrefslogtreecommitdiff
path: root/src/zenity.h
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@gnome.org>2011-07-26 14:00:28 -0300
committerArx Cruz <arxcruz@gnome.org>2011-07-26 14:02:45 -0300
commit6768a40e997697d05008aecdb41815e1dbae61c6 (patch)
tree787c080cb8b3a81af70d2bb7d9c3847529e9a5f1 /src/zenity.h
parent7a34df3041844918e2a0c5c44cb5601cff4c451a (diff)
Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all dialogs. This patch doesn't break old zenity scripts.
Diffstat (limited to 'src/zenity.h')
-rw-r--r--src/zenity.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/zenity.h b/src/zenity.h
index d9d0a10..4d1e27d 100644
--- a/src/zenity.h
+++ b/src/zenity.h
@@ -26,6 +26,8 @@ G_BEGIN_DECLS
typedef struct {
gchar *dialog_title;
gchar *window_icon;
+ gchar *ok_label;
+ gchar *cancel_label;
gint width;
gint height;
gint exit_code;
@@ -61,8 +63,6 @@ typedef struct {
MsgMode mode;
gboolean no_wrap;
gboolean no_markup;
- gchar *ok_label;
- gchar *cancel_label;
} ZenityMsgData;
typedef struct {
@@ -108,8 +108,6 @@ typedef struct {
gboolean no_wrap;
gchar *font;
GtkTextBuffer *buffer;
- gchar *ok_label;
- gchar *cancel_label;
gchar *checkbox;
#ifdef HAVE_WEBKITGTK
gboolean html;