From a898a3065e1cd88475abcf0121ebd09f44e5c6e6 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 23 Jun 2023 14:22:51 +0200 Subject: [PATCH] Remove Find and Close from the list of default button box buttons Commit e1a2cf577fac791c79cd531e688a48efab9b7c0c inappropiratly added the FIND and CLOSE buttons to the default list of buttons to be shown. This change fixes that error. --- src/ui/gui/psppire-buttonbox.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ui/gui/psppire-buttonbox.c b/src/ui/gui/psppire-buttonbox.c index 1aa80493b0..6c0f1d7cfd 100644 --- a/src/ui/gui/psppire-buttonbox.c +++ b/src/ui/gui/psppire-buttonbox.c @@ -135,16 +135,14 @@ psppire_button_box_class_init (PsppireButtonBoxClass *class) PSPPIRE_TYPE_BUTTON_MASK, PSPPIRE_BUTTON_OK_MASK | PSPPIRE_BUTTON_CANCEL_MASK - | PSPPIRE_BUTTON_CLOSE_MASK | PSPPIRE_BUTTON_RESET_MASK | PSPPIRE_BUTTON_HELP_MASK - | PSPPIRE_BUTTON_PASTE_MASK - | PSPPIRE_BUTTON_FIND_MASK, + | PSPPIRE_BUTTON_PASTE_MASK, G_PARAM_READWRITE); + g_object_class_install_property (object_class, PROP_BUTTONS, button_flags); - default_flags = g_param_spec_flags ("default", "Default", -- 2.30.2