projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51d79b8
)
Remove Find and Close from the list of default button box buttons
author
John Darrington
<john@cellform.com>
Fri, 23 Jun 2023 12:22:51 +0000
(14:22 +0200)
committer
John 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
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-buttonbox.c
b/src/ui/gui/psppire-buttonbox.c
index 1aa80493b0e33aaf2d6a5afbac235ddc266bd69e..6c0f1d7cfdafa498c379e8185477a9b83f5572f2 100644
(file)
--- 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",