CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     mitch   06/06/16 13:02:14

Modified files:
        .              : ChangeLog 
        app/pdb        : gimppluginprocedure.c 
        app/widgets    : gimpimageeditor.c gimpimageeditor.h 
                         gimpitemtreeview.c gimpitemtreeview.h 
        app/actions    : plug-in-commands.c 
        plug-ins/common: colormap-remap.c 
        app/menus      : menus.c plug-in-menus.c 
        menus          : channels-menu.xml colormap-editor-menu.xml 
                         image-menu.xml.in layers-menu.xml 
                         vectors-menu.xml 

Log message:
2006-06-16  Michael Natterer  <[EMAIL PROTECTED]>

Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
<ColormapEditor>:

* app/pdb/gimppluginprocedure.c
(gimp_plug_in_procedure_add_menu_path): added the argument type
checks for the new locations. Factored out duplicated code.

* app/menus/menus.c (menus_init): add the "plug-in" action
group to the resp. UI managers.

* app/menus/plug-in-menus.c (plug_in_menus_menu_path_added):
support them here too.

* app/widgets/gimpimageeditor.[ch]
* app/widgets/gimpitemtreeview.[ch]: added get_image() functions.

* app/actions/plug-in-commands.c: added new utility functions
which collect plug-in arguments from GimpImageEditor and
GimpItemTreeView widgets.

* menus/channels-menu.xml
* menus/colormap-editor-menu.xml
* menus/layers-menu.xml
* menus/vectors-menu.xml: added separators.

* menus/image-menu.xml.in: added a "Colormap" placeholder in
Colors/Map

* plug-ins/common/colormap-remap.c (query): register a menu
entry in <ColormapEditor> and moved the existing one to the
"Colormap" placeholder. Also register an icon to make this
menu item clearly distinct from the others in that menu.

Unrelated:

* plug-ins/common/colormap-remap.c (run): cleaned up quite a
bit. Fixed last-vals code and simplified map handling.

(remap_swap): removed, folded into run().

(remap_dialog): use the passed map to initialize the dialog so it
starts with the last-vals. Tweaked layout to have 16 columns
and simplified cell renderer creation.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-06-16%2013:01&maxdate=2006-06-16%2013:03

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to