From 6768a40e997697d05008aecdb41815e1dbae61c6 Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Tue, 26 Jul 2011 14:00:28 -0300 Subject: Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all dialogs. This patch doesn't break old zenity scripts. --- src/zenity.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/zenity.h') diff --git a/src/zenity.h b/src/zenity.h index d9d0a108..4d1e27d3 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; -- cgit