From: John Darrington Date: Fri, 23 Jun 2023 12:22:51 +0000 (+0200) Subject: Remove Find and Close from the list of default button box buttons X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a898a3065e1cd88475abcf0121ebd09f44e5c6e6;p=pspp 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. --- 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",