Commit Graph

11 Commits

Author SHA1 Message Date
Manish Singh ed0ff9f519 Handle placeholder defaults for gimp objects (bug #158392). Patch by Joao
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Handle placeholder defaults for gimp
        objects (bug #158392). Patch by Joao S. O. Bueno.
2004-11-17 03:14:13 +00:00
Manish Singh 027a85b17b Use img.name if filename is not available (bug #158392). Patch by Joao S.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Use img.name if filename is not
        available (bug #158392). Patch by Joao S. O. Bueno.
2004-11-17 03:11:46 +00:00
Manish Singh 007d7549b4 plug-ins/common/gimpfu.py Add a palette selector (bug #155325). Patch by
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gimpfu.py
        * plug-ins/common/gimpui.py: Add a palette selector (bug #155325).
        Patch by Joao S. O. Bueno.
2004-11-17 03:02:54 +00:00
Manish Singh 54f7464829 Compile pygimp with -fno-strict-aliasing if the compiler supports it.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * configure.in:
        * plug-ins/pygimp/Makefile.am: Compile pygimp with
        -fno-strict-aliasing if the compiler supports it.

        * plug-ins/pygimp/gimpui.py: Make "..." into "Browse..." for
        everything but the filesel, for slightly more consistency with
        script-fu. Addresses #124791.

        * plug-ins/pygimp/gimpmodule.c: Wrapped
        gimp_context_{get,set}_gradient and
        gimp_gradient_get_{uniform,custom}_samples. Deprecated the deprecated
        versions of these, and rewrote them in terms of the new functions.
2004-11-17 02:50:53 +00:00
Manish Singh 6387c6a38f applied slightly tweaked patch from Joao S. O. Bueno, which adds a
2004-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpfu.py: applied slightly tweaked patch
        from Joao S. O. Bueno, which adds a mutliline text field (PF_TEXT) and
        untabbifies things. Closes bug #153921.

        * plug-ins/pygimp/plug-ins/gimpplugin.py
        * plug-ins/pygimp/plug-ins/gimpshelf.py
        * plug-ins/pygimp/plug-ins/gimpui.py: Untabbify.
2004-09-29 23:09:30 +00:00
Manish Singh 11410ff7f0 Translate None to NULL when passing strings.
2004-02-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): Translate
        None to NULL when passing strings.
2004-02-05 09:17:19 +00:00
Manish Singh c1e165d32d Missing self. reference. Fixes #115714.
2003-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Missing self. reference. Fixes #115714.

        * plug-ins/pygimp/gimpui.py: Move item.show() in Selector so that all
        items are shown. Fixes bug #115715. Thanks to Dave Corrie for catching
        both these.

        * plug-ins/pygimp/gimpfu.py: Always register as type PLUGIN, to
        reflect the recent changes in semantics.

        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: s/extension/plug_in/ to
        reflect above, for consistency.

        * plug-ins/pygimp/gimpfu.py: Add a fail method which uses
        gimp.message and then raises an error.

        * plug-ins/pygimp/gimpmodule.c: remove declarations for
        gimp_extension_ack and gimp_extension_process, they are in gimp.h.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpui.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Added pygtk.require('2.0').
        Fixes bug #115545.
2003-06-28 00:06:58 +00:00
Manish Singh f8861444f9 use dialog.run() for sub dialogs, since the main dialog is also doing
2003-02-08  Manish Singh  <yosh@gimp.org>

        * gimpui.py: use dialog.run() for sub dialogs, since the main dialog
        is also doing that. This does break consistency with the rest of
        gimp, but will do for now. I wish there was a similar API that didn't
        set the dialog modal. Fixed brush and pattern list to use the new
        PDB names. Also make the filesel really have a title of "Files"

        * gimpshelf.py: minor clean up, use cStringIO if available

        * gimpfu.py: add support for Load/Save plug-ins. Use GtkImage
        instead of deprecated GtkPixmap.

        * gimpenums.py: regenerated

        * plug-ins/Makefile.am
        * plug-ins/colorhtml.py: the return of colorhtml to 1.3
2003-02-08 19:36:00 +00:00
James Henstridge 29aa6f5037 add getsets for common drawable attributes. (PyGimpLayer_Type): convert
2002-08-30  James Henstridge  <james@daa.com.au>

    * pygimp-drawable.c (PyGimpDrawable_Type): add getsets for common
    drawable attributes.
    (PyGimpLayer_Type): convert getattr and setattr to getsets.
    (PyGimpChannel_Type): convert to getsets.

    * gimpmodule.c (new_parasite): remove.  Superceded by
    gimp.Parasite constructor.
    (pygimp_image_list): rename to match actual API.

    * pygimp-parasite.c (PyGimpParasite_Type): switch to getsets.
    (para_init): add constructor.
2002-08-30 12:46:27 +00:00
James Henstridge 47f86d9f89 many updates to Python code to work with new PyGTK. I can start a plug in
2002-08-29  James Henstridge  <james@daa.com.au>

    * *.py, plug-ins/*.py: many updates to Python code to work with
    new PyGTK.  I can start a plug in now.
2002-08-29 01:53:26 +00:00
James Henstridge 910e7cb689 added pygimp to tree, as organised with Marc Lehmann. I have not hooked it
1999-09-05  James Henstridge  <james@daa.com.au>

	* plug-ins/pygimp/*: added pygimp to tree, as organised with Marc
	Lehmann.  I have not hooked it into the main makefile yet.  That
	should not be difficult though.
1999-09-05 15:46:57 +00:00