GNOME Bugzilla – Bug 169370
no way to set a new palettes columns via script
Last modified: 2005-03-08 14:45:05 UTC
Compare a gimp palette file with the gimp palette dialog. GIMP Palette Name: Default copy Columns: 4 # 255 0 0 Red 255 0 255 Magenta 0 0 255 Blue ... 76 76 76 Gray 30% 102 102 102 Gray 40% 127 127 127 Gray 50% 153 153 153 Gray 60% gimp palette scripted calls only return the number of colors and there is no way to set the column number from a script.
2005-03-08 Sven Neumann <sven@gimp.org> * app/core/gimppalette.[ch]: renamed gimp_palette_[gs]et_n_columns to gimp_palette_[gs]et_num_columns(). * app/dialogs/palette-import-dialog.c * app/widgets/gimppaletteeditor.c: changed accordingly. * tools/pdbgen/pdb/palette.pdb: added new PDB function to control the number of columns used when displaying a palette (bug #169370). * app/pdb/internal_procs.c * app/pdb/palette_cmds.c * libgimp/gimppalette_pdb.[ch]: regenerated. * libgimp/gimp.def: updated.