diff options
-rw-r--r-- | src/calendar.c | 8 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/msg.c | 64 | ||||
-rw-r--r-- | src/text.c | 14 | ||||
-rw-r--r-- | src/util.c | 129 | ||||
-rw-r--r-- | src/util.h | 1 | ||||
-rw-r--r-- | src/zenity.ui | 1311 |
7 files changed, 849 insertions, 680 deletions
diff --git a/src/calendar.c b/src/calendar.c index 21dc6a1..0fb84ed 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -112,13 +112,11 @@ zenity_calendar (ZenityData *data, ZenityCalendarData *cal_data) dialog); } - if (data->extra_label) { - int i = 0; - - while (data->extra_label[i] != NULL) { + if (data->extra_label) + { + for (int i = 0; data->extra_label[i] != NULL; ++i) { gtk_dialog_add_button (GTK_DIALOG(dialog), data->extra_label[i], i); - i++; } } @@ -46,7 +46,6 @@ activate_cb (GtkApplication *app, gpointer user_data) int retval; results = zenity_option_parse (args->argc, args->argv); - g_free (args); switch (results->mode) { @@ -128,6 +127,7 @@ activate_cb (GtkApplication *app, gpointer user_data) retval = results->data->exit_code; zenity_option_free (); + g_free (args); // FIXME - pass retval to gapplication properly. // exit (retval); @@ -33,18 +33,18 @@ static void zenity_msg_dialog_response (GtkWidget *widget, int response, gpointer data); static void -zenity_msg_construct_question_dialog ( - GtkWidget *dialog, ZenityMsgData *msg_data, ZenityData *data) { - +zenity_msg_construct_question_dialog (GtkWidget *dialog, + ZenityMsgData *msg_data, ZenityData *data) +{ GtkWidget *cancel_button, *ok_button; - cancel_button = gtk_dialog_add_button ( - GTK_DIALOG (dialog), _ ("_No"), GTK_RESPONSE_CANCEL); - ok_button = gtk_dialog_add_button ( - GTK_DIALOG (dialog), _ ("_Yes"), GTK_RESPONSE_OK); + cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog), + _("_No"), GTK_RESPONSE_CANCEL); + ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), + _("_Yes"), GTK_RESPONSE_OK); - gtk_widget_grab_focus ( - msg_data->default_cancel ? cancel_button : ok_button); + gtk_widget_grab_focus + (msg_data->default_cancel ? cancel_button : ok_button); if (data->cancel_label) { gtk_button_set_label (GTK_BUTTON (cancel_button), data->cancel_label); @@ -56,7 +56,8 @@ zenity_msg_construct_question_dialog ( } static void -zenity_label_widget_clipboard_selection (GtkWidget *widget) { +zenity_label_widget_clipboard_selection (GtkWidget *widget) +{ /* Workaround hotfix for suspected toolkit issue: since focus change of the dialog's focussed widget (text) somehow currently chooses to destroy @@ -140,12 +141,12 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) break; } - if (data->extra_label) { - gint i = 0; - while (data->extra_label[i] != NULL) { - gtk_dialog_add_button ( - GTK_DIALOG (dialog), data->extra_label[i], i); - i++; + if (data->extra_label) + { + for (int i = 0; data->extra_label[i] != NULL; ++i) + { + gtk_dialog_add_button (GTK_DIALOG (dialog), + data->extra_label[i], i); } } @@ -199,31 +200,32 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) default: break; } + if (data->width > -1 || data->height > -1) { + gtk_window_set_default_size (GTK_WINDOW(dialog), + data->width, data->height); + } - if (data->width > -1 || data->height > -1) - gtk_window_set_default_size ( - GTK_WINDOW (dialog), data->width, data->height); - - if (data->width > -1) + if (data->width > -1) { gtk_widget_set_size_request (GTK_WIDGET (text), data->width, -1); + } else if (!msg_data->ellipsize && !msg_data->no_wrap) { /* the magic number 60 is picked from gtk+/gtk/ui/gtkmessagedialog.ui - * however, 60 would increase the distance between the icon and the - * text, decreasing to 10 fix it. */ - gtk_label_set_width_chars (GTK_LABEL(text), 10); - gtk_label_set_max_width_chars (GTK_LABEL(text), 10); + gtk_label_set_max_width_chars (GTK_LABEL(text), 60); } if (data->modal) gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); - if (msg_data->dialog_text) { - if (msg_data->no_markup) + if (msg_data->dialog_text) + { + if (msg_data->no_markup) { gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text); - else - gtk_label_set_markup ( - GTK_LABEL (text), g_strcompress (msg_data->dialog_text)); + } + else { + gtk_label_set_markup (GTK_LABEL (text), + g_strcompress (msg_data->dialog_text)); + } zenity_label_widget_clipboard_selection (GTK_WIDGET (text)); } @@ -235,7 +237,7 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) GTK_IMAGE (image), msg_data->dialog_icon); if (msg_data->no_wrap) - gtk_label_set_wrap (GTK_LABEL (text), FALSE); + gtk_label_set_wrap (GTK_LABEL(text), FALSE); zenity_util_show_dialog (dialog); @@ -309,19 +309,17 @@ zenity_text (ZenityData *data, ZenityTextData *text_data) if (text_data->font) { + PangoFontDescription *desc; GtkStyleContext *context; GtkCssProvider *provider; - char *font_str; + char *css_str; - font_str = g_strdup_printf ( - "* { \n" - " font: %s\n" - "}\n", - text_data->font); + desc = pango_font_description_from_string (text_data->font); + css_str = zenity_util_pango_font_description_to_css (desc); provider = gtk_css_provider_new (); - gtk_css_provider_load_from_data (provider, font_str, -1); - g_free (font_str); + gtk_css_provider_load_from_data (provider, css_str, -1); + g_free (css_str); context = gtk_widget_get_style_context (GTK_WIDGET(text_view)); gtk_style_context_add_provider (context, @@ -390,6 +390,135 @@ zenity_util_make_transient (GdkWindow *window, Window parent) { #endif /* GDK_WINDOWING_X11 */ +/* helper for common_set_gtkhex_font_from_settings. + * + * This function was written by Matthias Clasen and is included somewhere in + * the GTK source tree.. I believe it is also included in libdazzle, but I + * didn't want to include a whole dependency just for one function. LGPL, but + * credit where credit is due! + */ +char * +zenity_util_pango_font_description_to_css (PangoFontDescription *desc) +{ + GString *s; + PangoFontMask set; + + s = g_string_new ("* { "); + + set = pango_font_description_get_set_fields (desc); + if (set & PANGO_FONT_MASK_FAMILY) + { + g_string_append (s, "font-family: "); + g_string_append (s, pango_font_description_get_family (desc)); + g_string_append (s, "; "); + } + if (set & PANGO_FONT_MASK_STYLE) + { + switch (pango_font_description_get_style (desc)) + { + case PANGO_STYLE_NORMAL: + g_string_append (s, "font-style: normal; "); + break; + case PANGO_STYLE_OBLIQUE: + g_string_append (s, "font-style: oblique; "); + break; + case PANGO_STYLE_ITALIC: + g_string_append (s, "font-style: italic; "); + break; + } + } + if (set & PANGO_FONT_MASK_VARIANT) + { + switch (pango_font_description_get_variant (desc)) + { + case PANGO_VARIANT_NORMAL: + g_string_append (s, "font-variant: normal; "); + break; + case PANGO_VARIANT_SMALL_CAPS: + g_string_append (s, "font-variant: small-caps; "); + break; + } + } + if (set & PANGO_FONT_MASK_WEIGHT) + { + switch (pango_font_description_get_weight (desc)) + { + case PANGO_WEIGHT_THIN: + g_string_append (s, "font-weight: 100; "); + break; + case PANGO_WEIGHT_ULTRALIGHT: + g_string_append (s, "font-weight: 200; "); + break; + case PANGO_WEIGHT_LIGHT: + case PANGO_WEIGHT_SEMILIGHT: + g_string_append (s, "font-weight: 300; "); + break; + case PANGO_WEIGHT_BOOK: + case PANGO_WEIGHT_NORMAL: + g_string_append (s, "font-weight: 400; "); + break; + case PANGO_WEIGHT_MEDIUM: + g_string_append (s, "font-weight: 500; "); + break; + case PANGO_WEIGHT_SEMIBOLD: + g_string_append (s, "font-weight: 600; "); + break; + case PANGO_WEIGHT_BOLD: + g_string_append (s, "font-weight: 700; "); + break; + case PANGO_WEIGHT_ULTRABOLD: + g_string_append (s, "font-weight: 800; "); + break; + case PANGO_WEIGHT_HEAVY: + case PANGO_WEIGHT_ULTRAHEAVY: + g_string_append (s, "font-weight: 900; "); + break; + } + } + if (set & PANGO_FONT_MASK_STRETCH) + { + switch (pango_font_description_get_stretch (desc)) + { + case PANGO_STRETCH_ULTRA_CONDENSED: + g_string_append (s, "font-stretch: ultra-condensed; "); + break; + case PANGO_STRETCH_EXTRA_CONDENSED: + g_string_append (s, "font-stretch: extra-condensed; "); + break; + case PANGO_STRETCH_CONDENSED: + g_string_append (s, "font-stretch: condensed; "); + break; + case PANGO_STRETCH_SEMI_CONDENSED: + g_string_append (s, "font-stretch: semi-condensed; "); + break; + case PANGO_STRETCH_NORMAL: + g_string_append (s, "font-stretch: normal; "); + break; + case PANGO_STRETCH_SEMI_EXPANDED: + g_string_append (s, "font-stretch: semi-expanded; "); + break; + case PANGO_STRETCH_EXPANDED: + g_string_append (s, "font-stretch: expanded; "); + break; + case PANGO_STRETCH_EXTRA_EXPANDED: + g_string_append (s, "font-stretch: extra-expanded; "); + break; + case PANGO_STRETCH_ULTRA_EXPANDED: + g_string_append (s, "font-stretch: ultra-expanded; "); + break; + } + } + if (set & PANGO_FONT_MASK_SIZE) + { + g_string_append_printf (s, "font-size: %dpt; ", + pango_font_description_get_size (desc) / PANGO_SCALE); + } + + g_string_append (s, "}"); + + return g_string_free (s, FALSE); +} + void zenity_util_show_dialog (GtkWidget *dialog) { @@ -63,6 +63,7 @@ int zenity_util_return_exit_code (ZenityExitCode value); void zenity_util_exit_code_with_data (ZenityExitCode value, ZenityData *data); void zenity_util_show_dialog (GtkWidget *widget); gboolean zenity_util_timeout_handle (gpointer data); +char *zenity_util_pango_font_description_to_css (PangoFontDescription *desc); void zenity_util_gapp_main (GtkWindow *window); void zenity_util_gapp_quit (GtkWindow *window); diff --git a/src/zenity.ui b/src/zenity.ui index 25e8db9..96017f3 100644 --- a/src/zenity.ui +++ b/src/zenity.ui @@ -1,638 +1,679 @@ +<!-- vim: ts=2 sw=2 +--> <?xml version="1.0" encoding="UTF-8"?> <interface> - <requires lib="gtk" version="4.0"/> - <object class="GtkAdjustment" id="adjustment1"> - <property name="upper">100</property> - <property name="step_increment">1</property> - <property name="page_increment">1</property> - </object> - <object class="GtkDialog" id="zenity_scale_dialog"> - <property name="visible">1</property> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Adjust the scale value</property> - <property name="default_width">300</property> - <property name="default_height">100</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox11"> - <property name="can_focus">0</property> - <child> - <object class="GtkBox" id="vbox13"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_scale_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Adjust the scale value</property> - <property name="xalign">0</property> - </object> - </child> - <child> - <object class="GtkScale" id="zenity_scale_hscale"> - <property name="vexpand">1</property> - <property name="draw-value">1</property> - <property name="adjustment">adjustment1</property> - <property name="digits">0</property> - <property name="value_pos">right</property> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_scale_cancel_button</action-widget> - <action-widget response="-5">zenity_scale_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area11"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_scale_cancel_button"> - <property name="label" translatable="yes">Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_scale_ok_button"> - <property name="label" translatable="yes">OK</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkTextBuffer" id="textbuffer1"/> - <object class="GtkDialog" id="zenity_text_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Text View</property> - <property name="default_width">300</property> - <property name="default_height">200</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox5"> - <property name="can_focus">0</property> - <property name="spacing">2</property> - <child> - <object class="GtkBox" id="vbox5"> - <property name="hexpand">1</property> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <child> - <object class="GtkScrolledWindow" id="zenity_text_scrolled_window"> - <property name="vexpand">1</property> - <property name="child"> - <object class="GtkTextView" id="zenity_text_view"> - <property name="pixels_above_lines">2</property> - <property name="pixels_below_lines">2</property> - <property name="editable">0</property> - <property name="wrap_mode">word</property> - <property name="left_margin">2</property> - <property name="right_margin">2</property> - <property name="buffer">textbuffer1</property> - </object> - </property> - </object> - </child> - <child> - <object class="GtkCheckButton" id="zenity_text_checkbox"> - <property name="valign">center</property> - <property name="visible">0</property> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_text_cancel_button</action-widget> - <action-widget response="-7">zenity_text_close_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area5"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_text_cancel_button"> - <property name="label" translatable="yes">Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_text_close_button"> - <property name="label" translatable="yes">OK</property> - <property name="receives_default">1</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_calendar_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Calendar selection</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox2"> - <property name="can_focus">0</property> - <property name="spacing">2</property> - <child> - <object class="GtkBox" id="vbox1"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkBox" id="vbox2"> - <property name="vexpand">1</property> - <property name="can_focus">0</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_calendar_text"> - <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Select a date from below.</property> - <property name="wrap">1</property> - <property name="xalign">0</property> - </object> - </child> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_calendar_label"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">C_alendar:</property> - <property name="use_underline">1</property> - <property name="mnemonic_widget">zenity_calendar</property> - <property name="xalign">0</property> - <accessibility> - <property name="label" translatable="yes">Calendar</property> - <relation name="labelled-by">zenity_calendar</relation> - </accessibility> - </object> - </child> - <child> - <object class="GtkCalendar" id="zenity_calendar"> - <property name="valign">center</property> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_calendar_cancel_button</action-widget> - <action-widget response="-5">zenity_calendar_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_calendar_cancel_button"> - <property name="label" translatable="yes">Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_calendar_ok_button"> - <property name="label" translatable="yes">OK</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_entry_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Add a new entry</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox4"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">2</property> - <child> - <object class="GtkBox" id="vbox3"> - <property name="can_focus">0</property> - <child> - <object class="GtkBox" id="vbox4"> - <property name="hexpand">1</property> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_entry_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">_Enter new text:</property> - <property name="use_underline">1</property> - <property name="xalign">0</property> - </object> - </child> - <child> - <placeholder/> - </child> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_entry_cancel_button</action-widget> - <action-widget response="-5">zenity_entry_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area4"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_entry_cancel_button"> - <property name="label" translatable="yes">Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_entry_ok_button"> - <property name="label" translatable="yes">OK</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_error_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Error</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox7"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <child> - <object class="GtkBox" id="vbox8"> - <property name="can_focus">0</property> - <child> - <object class="GtkBox" id="hbox3"> - <property name="hexpand">1</property> - <property name="can_focus">0</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_error_image"> - <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="icon_name">dialog-error</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_error_text"> - <property name="halign">center</property> - <property name="label" translatable="yes">An error has occurred.</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - <property name="yalign">0</property> - </object> - </child> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-5">zenity_error_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area7"> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_error_ok_button"> - <property name="label" translatable="yes">OK</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_forms_dialog"> - <property name="can_focus">0</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox12"> - <property name="can_focus">0</property> - <property name="spacing">2</property> - <child> - <object class="GtkFrame" id="frame1"> - <property name="can_focus">0</property> - <property name="child"> - <object class="GtkGrid" id="zenity_forms_grid"> - <property name="can_focus">0</property> - <property name="margin-start">12</property> - <property name="margin-end">6</property> - <property name="margin_top">12</property> - <property name="margin_bottom">6</property> - <property name="row_spacing">6</property> - <property name="column_spacing">10</property> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - </object> - </property> - <child type="label"> - <object class="GtkLabel" id="zenity_forms_text"> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Forms dialog</property> - <attributes> - <attribute name="weight" value="bold"></attribute> - </attributes> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_forms_cancel_button</action-widget> - <action-widget response="-5">zenity_forms_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area12"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_forms_cancel_button"> - <property name="label" translatable="yes">Cancel</property> - <property name="receives_default">1</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_forms_ok_button"> - <property name="label" translatable="yes">OK</property> - <property name="receives_default">1</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_info_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Information</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox9"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <child> - <object class="GtkBox" id="hbox4"> - <property name="can_focus">0</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_info_image"> - <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="icon_name">dialog-information</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_info_text"> - <property name="halign">center</property> - <property name="label" translatable="yes">All updates are complete.</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - <property name="yalign">0</property> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-5">zenity_info_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area3"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_info_ok_button"> - <property name="label" translatable="yes">OK</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_progress_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Progress</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox6"> - <property name="can_focus">0</property> - <property name="spacing">2</property> - <child> - <object class="GtkBox" id="vbox7"> - <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_progress_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Running...</property> - <property name="wrap">1</property> - <property name="xalign">0</property> - </object> - </child> - <child> - <object class="GtkProgressBar" id="zenity_progress_bar"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="pulse_step">0.10000000149</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_progress_time"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="xalign">0</property> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_progress_cancel_button</action-widget> - <action-widget response="-5">zenity_progress_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area6"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_progress_cancel_button"> - <property name="label" translatable="yes">Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_progress_ok_button"> - <property name="label" translatable="yes">OK</property> - <property name="sensitive">0</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_question_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Question</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox3"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <child> - <object class="GtkBox" id="hbox1"> - <property name="can_focus">0</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_question_image"> - <property name="can_focus">0</property> - <property name="icon_name">dialog-question</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_question_text"> - <property name="halign">center</property> - <property name="label" translatable="yes">Are you sure you want to proceed?</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - <property name="yalign">0</property> - </object> - </child> - </object> - </child> - </object> - </child> - <child internal-child="action_area"> - <object class="GtkBox" id="zenity_question_button_box"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_tree_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Select items from the list</property> - <property name="default_width">300</property> - <property name="default_height">196</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox8"> - <property name="can_focus">0</property> - <child> - <object class="GtkBox" id="vbox10"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_tree_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Select items from the list below.</property> - <property name="xalign">0</property> - </object> - </child> - <child> - <object class="GtkScrolledWindow" id="zenity_tree_window"> - <property name="hexpand">1</property> - <property name="vexpand">1</property> - <property name="child"> - <object class="GtkTreeView" id="zenity_tree_view"> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="treeview-selection1"/> - </child> - </object> - </property> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_tree_cancel_button</action-widget> - <action-widget response="-5">zenity_tree_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area8"> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_tree_cancel_button"> - <property name="label" translatable="yes">Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_tree_ok_button"> - <property name="label" translatable="yes">OK</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_warning_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Warning</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox1"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <child> - <object class="GtkBox" id="hbox2"> - <property name="can_focus">0</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_warning_image"> - <property name="can_focus">0</property> - <property name="icon_name">dialog-warning</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_warning_text"> - <property name="halign">center</property> - <property name="label" translatable="yes">Are you sure you want to proceed?</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - <property name="yalign">0</property> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-5">zenity_warning_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_warning_ok_button"> - <property name="label" translatable="yes">OK</property> - </object> - </child> - </object> - </child> - </object> + <requires lib="gtk" version="4.0"/> + <object class="GtkAdjustment" id="adjustment1"> + <property name="upper">100</property> + <property name="step_increment">1</property> + <property name="page_increment">1</property> + </object> + <object class="GtkDialog" id="zenity_scale_dialog"> + <property name="visible">1</property> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Adjust the scale value</property> + <property name="default_width">300</property> + <property name="default_height">100</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox11"> + <property name="can_focus">0</property> + <child> + <object class="GtkBox" id="vbox13"> + <property name="can_focus">0</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="zenity_scale_text"> + <property name="valign">center</property> + <property name="can_focus">0</property> + <property name="label" translatable="yes">Adjust the scale value</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkScale" id="zenity_scale_hscale"> + <property name="hexpand">true</property> + <property name="draw-value">1</property> + <property name="adjustment">adjustment1</property> + <property name="digits">0</property> + <property name="value_pos">right</property> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">zenity_scale_cancel_button</action-widget> + <action-widget response="-5" default="true">zenity_scale_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area11"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_scale_cancel_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + <child> + <object class="GtkButton" id="zenity_scale_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkTextBuffer" id="textbuffer1"/> + <object class="GtkDialog" id="zenity_text_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Text View</property> + <property name="default_width">300</property> + <property name="default_height">200</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox5"> + <property name="can_focus">0</property> + <property name="spacing">2</property> + <child> + <object class="GtkBox" id="vbox5"> + <property name="hexpand">1</property> + <property name="can_focus">0</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkScrolledWindow" id="zenity_text_scrolled_window"> + <property name="vexpand">1</property> + <property name="child"> + <object class="GtkTextView" id="zenity_text_view"> + <property name="pixels_above_lines">2</property> + <property name="pixels_below_lines">2</property> + <property name="editable">0</property> + <property name="wrap_mode">word</property> + <property name="left_margin">2</property> + <property name="right_margin">2</property> + <property name="buffer">textbuffer1</property> + </object> + </property> + </object> + </child> + <child> + <object class="GtkCheckButton" id="zenity_text_checkbox"> + <property name="valign">center</property> + <property name="visible">0</property> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">zenity_text_cancel_button</action-widget> + <action-widget response="-7" default="true">zenity_text_close_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area5"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_text_cancel_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + <child> + <object class="GtkButton" id="zenity_text_close_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_calendar_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Calendar selection</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox2"> + <property name="can_focus">0</property> + <property name="spacing">2</property> + <child> + <object class="GtkBox" id="vbox1"> + <property name="can_focus">0</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkBox" id="vbox2"> + <property name="vexpand">1</property> + <property name="can_focus">0</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="zenity_calendar_text"> + <property name="halign">center</property> + <property name="can_focus">0</property> + <property name="label" translatable="yes">Select a date from below.</property> + <property name="wrap">1</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkLabel" id="zenity_calendar_label"> + <property name="valign">center</property> + <property name="can_focus">0</property> + <property name="label" translatable="yes">C_alendar:</property> + <property name="use_underline">1</property> + <property name="mnemonic_widget">zenity_calendar</property> + <property name="xalign">0</property> + <accessibility> + <property name="label" translatable="yes">Calendar</property> + <relation name="labelled-by">zenity_calendar</relation> + </accessibility> + </object> + </child> + <child> + <object class="GtkCalendar" id="zenity_calendar"> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">zenity_calendar_cancel_button</action-widget> + <action-widget response="-5" default="true">zenity_calendar_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_calendar_cancel_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + <child> + <object class="GtkButton" id="zenity_calendar_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_entry_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Add a new entry</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox4"> + <property name="can_focus">0</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child> + <object class="GtkBox" id="vbox3"> + <property name="can_focus">0</property> + <child> + <object class="GtkBox" id="vbox4"> + <property name="hexpand">1</property> + <property name="can_focus">0</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="zenity_entry_text"> + <property name="valign">center</property> + <property name="can_focus">0</property> + <property name="label" translatable="yes">_Enter new text:</property> + <property name="use_underline">1</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <placeholder/> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">zenity_entry_cancel_button</action-widget> + <action-widget response="-5" default="true">zenity_entry_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_entry_cancel_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + <child> + <object class="GtkButton" id="zenity_entry_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_error_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Error</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox7"> + <property name="can_focus">0</property> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="vbox8"> + <property name="can_focus">0</property> + <child> + <object class="GtkBox" id="hbox3"> + <property name="hexpand">1</property> + <property name="can_focus">0</property> + <property name="spacing">12</property> + <child> + <object class="GtkImage" id="zenity_error_image"> + <property name="halign">center</property> + <property name="can_focus">0</property> + <property name="icon_name">dialog-error</property> + <property name="icon_size">large</property> + </object> + </child> + <child> + <object class="GtkLabel" id="zenity_error_text"> + <property name="halign">center</property> + <property name="label" translatable="yes">An error has occurred.</property> + <property name="wrap">1</property> + <property name="selectable">1</property> + <property name="yalign">0</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-5" default="true">zenity_error_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area7"> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_error_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_forms_dialog"> + <property name="can_focus">0</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox12"> + <property name="can_focus">0</property> + <property name="spacing">2</property> + <child> + <object class="GtkFrame" id="frame1"> + <property name="can_focus">0</property> + <property name="child"> + <object class="GtkGrid" id="zenity_forms_grid"> + <property name="can_focus">0</property> + <property name="margin-start">12</property> + <property name="margin-end">6</property> + <property name="margin_top">12</property> + <property name="margin_bottom">6</property> + <property name="row_spacing">6</property> + <property name="column_spacing">10</property> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + </property> + <child type="label"> + <object class="GtkLabel" id="zenity_forms_text"> + <property name="can_focus">0</property> + <property name="label" translatable="yes">Forms dialog</property> + <attributes> + <attribute name="weight" value="bold"></attribute> + </attributes> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">zenity_forms_cancel_button</action-widget> + <action-widget response="-5" default="true">zenity_forms_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area12"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_forms_cancel_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + <child> + <object class="GtkButton" id="zenity_forms_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_info_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Information</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox9"> + <property name="can_focus">0</property> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + + <child> + <object class="GtkBox" id="hbox4"> + <property name="can_focus">0</property> + <property name="spacing">12</property> + <child> + <object class="GtkImage" id="zenity_info_image"> + <property name="halign">center</property> + <property name="can_focus">0</property> + <property name="icon_name">dialog-information</property> + <property name="icon_size">large</property> + </object> + </child> + <child> + <object class="GtkLabel" id="zenity_info_text"> + <property name="halign">center</property> + <property name="label" translatable="yes">All updates are complete.</property> + <property name="wrap">1</property> + <property name="selectable">1</property> + <property name="yalign">0</property> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-5" default="true">zenity_info_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_info_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_progress_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Progress</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox6"> + <property name="can_focus">0</property> + <property name="spacing">2</property> + <child> + <object class="GtkBox" id="vbox7"> + <property name="halign">center</property> + <property name="can_focus">0</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="zenity_progress_text"> + <property name="valign">center</property> + <property name="can_focus">0</property> + <property name="label" translatable="yes">Running...</property> + <property name="wrap">1</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkProgressBar" id="zenity_progress_bar"> + <property name="valign">center</property> + <property name="can_focus">0</property> + <property name="pulse_step">0.10000000149</property> + </object> + </child> + <child> + <object class="GtkLabel" id="zenity_progress_time"> + <property name="valign">center</property> + <property name="can_focus">0</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">zenity_progress_cancel_button</action-widget> + <action-widget response="-5" default="true">zenity_progress_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_progress_cancel_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + <child> + <object class="GtkButton" id="zenity_progress_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + <property name="sensitive">0</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_question_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Question</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox3"> + <property name="can_focus">0</property> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="hbox1"> + <property name="can_focus">0</property> + <property name="spacing">12</property> + <child> + <object class="GtkImage" id="zenity_question_image"> + <property name="can_focus">0</property> + <property name="icon_name">dialog-question</property> + <property name="icon_size">large</property> + </object> + </child> + <child> + <object class="GtkLabel" id="zenity_question_text"> + <property name="halign">center</property> + <property name="label" translatable="yes">Are you sure you want to proceed?</property> + <property name="wrap">1</property> + <property name="selectable">1</property> + <property name="yalign">0</property> + </object> + </child> + </object> + </child> + </object> + + </child> + <child internal-child="action_area"> + <object class="GtkBox" id="zenity_question_button_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_tree_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Select items from the list</property> + <property name="default_width">300</property> + <property name="default_height">196</property> + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox8"> + <property name="can_focus">0</property> + <child> + <object class="GtkBox" id="vbox10"> + <property name="can_focus">0</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="zenity_tree_text"> + <property name="valign">center</property> + <property name="can_focus">0</property> + <property name="label" translatable="yes">Select items from the list below.</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkScrolledWindow" id="zenity_tree_window"> + <property name="hexpand">1</property> + <property name="vexpand">1</property> + <property name="child"> + <object class="GtkTreeView" id="zenity_tree_view"> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection1"/> + </child> + </object> + </property> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">zenity_tree_cancel_button</action-widget> + <action-widget response="-5" default="true">zenity_tree_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area8"> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_tree_cancel_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + <child> + <object class="GtkButton" id="zenity_tree_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> + <object class="GtkDialog" id="zenity_warning_dialog"> + <property name="can_focus">0</property> + <property name="title" translatable="yes">Warning</property> + <property name="resizable">false</property> + + <child internal-child="content_area"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="can_focus">0</property> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="hbox2"> + <property name="can_focus">0</property> + <property name="spacing">12</property> + <child> + <object class="GtkImage" id="zenity_warning_image"> + <property name="can_focus">0</property> + <property name="icon_name">dialog-warning</property> + <property name="icon_size">large</property> + </object> + </child> + <child> + <object class="GtkLabel" id="zenity_warning_text"> + <property name="halign">center</property> + <property name="vexpand">true</property> + <property name="hexpand">true</property> + <property name="label" translatable="yes">Are you sure you want to proceed?</property> + <property name="wrap">1</property> + <property name="selectable">1</property> + </object> + </child> + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-5" default="true">zenity_warning_ok_button</action-widget> + </action-widgets> + <child internal-child="action_area"> + <object class="GtkBox" id="dialog-action_area1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="zenity_warning_ok_button"> + <property name="use-underline">true</property> + <property name="label" translatable="yes">_OK</property> + </object> + </child> + </object> + </child> + </object> </interface> |