libgimp/gimpfontselectbutton.[ch] libgimp/gimpgradientselectbutton.[ch]
2006-06-28 Sven Neumann <sven@gimp.org> * libgimp/gimpfontselectbutton.[ch] * libgimp/gimpgradientselectbutton.[ch] * libgimp/gimppaletteselectbutton.[ch] * libgimp/gimppatternselectbutton.[ch]: for consistency with GimpBrushSelectButton dropped the _name suffix from the getter and setter API. * libgimp/gimpfontmenu.c * libgimp/gimpgradientmenu.c * libgimp/gimppalettemenu.c * libgimp/gimppatternmenu.c * plug-ins/gfig/gfig-style.c * plug-ins/script-fu/script-fu-interface.c: changed accordingly. * libgimp/gimpbrushmenu.c * libgimp/gimpbrushselectbutton.[ch] * libgimp/gimpselectbutton.c: cleanup for consistency. 2006-06-28 Sven Neumann <sven@gimp.org> * libgimp/tmpl/gimpbrushselectbutton.sgml * libgimp/tmpl/gimpgradientselectbutton.sgml * libgimp/tmpl/gimppaletteselectbutton.sgml * libgimp/tmpl/gimppatternselectbutton.sgml * libgimp/tmpl/gimpselectbutton.sgml: new files. * libgimp/libgimp-docs.sgml * libgimp/libgimp-sections.txt * libgimp/libgimp.types: added docs for GimpSelectButton widgets. * libgimp/tmpl/gimpfontselectbutton.sgml: regenerated. * libgimpcolor/libgimpcolor-sections.txt: added docs for GValue API. * libgimpcolor/tmpl/gimprgb.sgml: regenerated. * libgimpwidgets/libgimpwidgets-sections.txt: updated. * libgimpwidgets/tmpl/gimppropwidgets.sgml * libgimpwidgets/tmpl/gimpstock.sgml: regenerated.
This commit is contained in:

committed by
Sven Neumann

parent
7405ca666b
commit
a9bd28e458
@ -938,36 +938,31 @@ script_fu_reset (SFScript *script)
|
||||
break;
|
||||
|
||||
case SF_FONT:
|
||||
gimp_font_select_button_set_font_name
|
||||
(GIMP_FONT_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_font);
|
||||
gimp_font_select_button_set_font (GIMP_FONT_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_font);
|
||||
break;
|
||||
|
||||
case SF_PALETTE:
|
||||
gimp_palette_select_button_set_palette_name
|
||||
(GIMP_PALETTE_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_palette);
|
||||
gimp_palette_select_button_set_palette (GIMP_PALETTE_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_palette);
|
||||
break;
|
||||
|
||||
case SF_PATTERN:
|
||||
gimp_pattern_select_button_set_pattern_name
|
||||
(GIMP_PATTERN_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_pattern);
|
||||
gimp_pattern_select_button_set_pattern (GIMP_PATTERN_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_pattern);
|
||||
break;
|
||||
|
||||
case SF_GRADIENT:
|
||||
gimp_gradient_select_button_set_gradient_name
|
||||
(GIMP_GRADIENT_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_gradient);
|
||||
gimp_gradient_select_button_set_gradient (GIMP_GRADIENT_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_gradient);
|
||||
break;
|
||||
|
||||
case SF_BRUSH:
|
||||
gimp_brush_select_button_set_brush
|
||||
(GIMP_BRUSH_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_brush.name,
|
||||
script->arg_defaults[i].sfa_brush.opacity,
|
||||
script->arg_defaults[i].sfa_brush.spacing,
|
||||
script->arg_defaults[i].sfa_brush.paint_mode);
|
||||
gimp_brush_select_button_set_brush (GIMP_BRUSH_SELECT_BUTTON (widget),
|
||||
script->arg_defaults[i].sfa_brush.name,
|
||||
script->arg_defaults[i].sfa_brush.opacity,
|
||||
script->arg_defaults[i].sfa_brush.spacing,
|
||||
script->arg_defaults[i].sfa_brush.paint_mode);
|
||||
break;
|
||||
|
||||
case SF_OPTION:
|
||||
|
Reference in New Issue
Block a user