Remove Find and Close from the list of default button box buttons
authorJohn Darrington <john@cellform.com>
Fri, 23 Jun 2023 12:22:51 +0000 (14:22 +0200)
committerJohn Darrington <john@cellform.com>
Fri, 23 Jun 2023 12:22:51 +0000 (14:22 +0200)
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

index 1aa80493b0e33aaf2d6a5afbac235ddc266bd69e..6c0f1d7cfdafa498c379e8185477a9b83f5572f2 100644 (file)
@@ -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",