GNOME Bugzilla – Bug 165009
Move all or part of the procedure browser to libgimpui
Last modified: 2005-08-02 16:53:24 UTC
The 'Browse' button in Script-Fu brings up the Procedure Browser dialog box. This is only possible since Script-Fu is part of the GIMP source tree. It would be nice if the procedure browser can be used by other plug-ins such as Tiny-Fu (for example). It will also be needed when(?) Script-Fu is pulled out of the GIMP source tree and made a separate module.
Increasing priority so that we get this done early in the development cycle this time.
Is the current API sane enough? If so, we can trivially move it to libgimpui.
Mitch said that he doesn't like the current API. It should be reviewed before things are moved to libgimpui.
Fixed in CVS: 2005-08-02 Michael Natterer <mitch@gimp.org> * plug-ins/dbbrowser/Makefile.am * plug-ins/dbbrowser/gimpprocbrowser.[ch] * plug-ins/dbbrowser/gimpprocview.[ch]: removed these files... * libgimp/Makefile.am * libgimp/gimpui.h * libgimp/gimpui.def * libgimp/gimpprocbrowserdialog.[ch] * libgimp/gimpprocview.[ch]: ...and added them here. Turned the procedure browser into a widget called GimpProcBrowserDialog and changed its API completely. Fixes bug #165009. * plug-ins/dbbrowser/plugin-browser.c * plug-ins/dbbrowser/procedure-browser.c * plug-ins/script-fu/Makefile.am * plug-ins/script-fu/script-fu-console.c: changed accordingly. * plug-ins/pygimp/Makefile.am * plug-ins/pygimp/procbrowser.c: ditto (#if 0'ed stuff so it compiles).