Enable the ask overwrite checkbox so it can actually be changed, correct the gadget ID
so it works and swap clipboard and search bar options as it makes the interface look neater svn path=/trunk/netsurf/; revision=12139
This commit is contained in:
parent
e7f9e93cc6
commit
af0583f8a7
|
@ -1043,9 +1043,9 @@ void ami_gui_opts_open(void)
|
|||
LAYOUT_Label, gadlab[GRP_OPTS_DOWNLOADS],
|
||||
LAYOUT_AddChild, HGroupObject,
|
||||
LAYOUT_AddChild, gow->objects[GID_OPTS_OVERWRITE] = CheckBoxObject,
|
||||
GA_ID, GID_OPTS_CLIPBOARD,
|
||||
GA_ID, GID_OPTS_OVERWRITE,
|
||||
GA_RelVerify, TRUE,
|
||||
GA_Disabled, TRUE,
|
||||
GA_Disabled, FALSE,
|
||||
GA_Text, gadlab[GID_OPTS_OVERWRITE],
|
||||
GA_Selected, option_ask_overwrite,
|
||||
CheckBoxEnd,
|
||||
|
@ -1109,6 +1109,18 @@ void ami_gui_opts_open(void)
|
|||
LayoutEnd, // hgroup
|
||||
CHILD_WeightedHeight, 0,
|
||||
LAYOUT_AddChild, HGroupObject,
|
||||
LAYOUT_AddChild,HGroupObject,
|
||||
LAYOUT_SpaceOuter, TRUE,
|
||||
LAYOUT_BevelStyle, BVS_GROUP,
|
||||
LAYOUT_Label, gadlab[GRP_OPTS_CLIPBOARD],
|
||||
LAYOUT_AddChild, gow->objects[GID_OPTS_CLIPBOARD] = CheckBoxObject,
|
||||
GA_ID, GID_OPTS_CLIPBOARD,
|
||||
GA_RelVerify, TRUE,
|
||||
GA_Text, gadlab[GID_OPTS_CLIPBOARD],
|
||||
GA_Selected, option_utf8_clipboard,
|
||||
CheckBoxEnd,
|
||||
LayoutEnd, // clipboard
|
||||
CHILD_WeightedHeight, 0,
|
||||
LAYOUT_AddChild,HGroupObject,
|
||||
LAYOUT_SpaceOuter, TRUE,
|
||||
LAYOUT_BevelStyle, BVS_GROUP,
|
||||
|
@ -1126,17 +1138,6 @@ void ami_gui_opts_open(void)
|
|||
LabelEnd,
|
||||
LayoutEnd, // search
|
||||
CHILD_WeightedHeight, 0,
|
||||
LAYOUT_AddChild,HGroupObject,
|
||||
LAYOUT_SpaceOuter, TRUE,
|
||||
LAYOUT_BevelStyle, BVS_GROUP,
|
||||
LAYOUT_Label, gadlab[GRP_OPTS_CLIPBOARD],
|
||||
LAYOUT_AddChild, gow->objects[GID_OPTS_CLIPBOARD] = CheckBoxObject,
|
||||
GA_ID, GID_OPTS_CLIPBOARD,
|
||||
GA_RelVerify, TRUE,
|
||||
GA_Text, gadlab[GID_OPTS_CLIPBOARD],
|
||||
GA_Selected, option_utf8_clipboard,
|
||||
CheckBoxEnd,
|
||||
LayoutEnd, // clipboard
|
||||
LayoutEnd, // hgroup
|
||||
CHILD_WeightedHeight, 0,
|
||||
LAYOUT_AddChild,VGroupObject,
|
||||
|
|
Loading…
Reference in New Issue