• Ell's avatar
    libgimpbase, libgimp, app: pass icon theme dir to plug-ins through config · de108498
    Ell authored
    Pass the current icon theme directory to plug-ins through the
    config message, and add a gimp_icon_theme_dir() libgimp function
    for retrieving it.  Note that we already have a similar
    gimp_icon_get_theme_dir() PDB function, which we keep around, since
    it can be used to dynamically query for the current icon dir,
    unlike the former, and since it returns a dynamically-allocated
    string, while the rest of the config-related functions return
    statically allocated strings.
    
    Use the new function, instead of gimp_get_icon_theme_dir(), in
    gimp_ui_init().  This allows gimp_ui_init() to run without making
    any PDB calls.  Consequently, this allows us to start plug-ins that
    call gimp_ui_init() without entering the main loop in the main app.
    We're going to add a plug-in that displays an interactive dialog
    while the main app is blocking waiting for an operation to
    complete, and we need to be able to start the plug-in without
    entering the main loop, to avoid the possibility of arbitrary code
    being executed during the wait.
    
    Bump the protocol version.
    de108498
Name
Last commit
Last update
..
app Loading commit data...
libgimp Loading commit data...
libgimpbase Loading commit data...
libgimpcolor Loading commit data...
libgimpconfig Loading commit data...
libgimpmath Loading commit data...
libgimpmodule Loading commit data...
libgimpthumb Loading commit data...
libgimpwidgets Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
GIMP3-API-Changes.txt Loading commit data...
Jenkins-Tutorial.odt Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
README.gtkdoc Loading commit data...
bugzilla-milestones.txt Loading commit data...
c.vim Loading commit data...
commit-rules.txt Loading commit data...
compositing.txt Loading commit data...
contexts.txt Loading commit data...
debug-plug-ins.txt Loading commit data...
debugging-tips.txt Loading commit data...
exif-handling.txt Loading commit data...
gbr.txt Loading commit data...
gegl-porting-plan.txt Loading commit data...
ggr.txt Loading commit data...
gih.txt Loading commit data...
gimp-module-dependencies.svg Loading commit data...
gpb.txt Loading commit data...
gtkbuilder-porting-guide.txt Loading commit data...
icons.txt Loading commit data...
includes.txt Loading commit data...
libtool-instructions.txt Loading commit data...
os-support.txt Loading commit data...
parasites.txt Loading commit data...
pat.txt Loading commit data...
release-howto.txt Loading commit data...
release-stats.sh Loading commit data...
structure.xml Loading commit data...
submitting-patches.txt Loading commit data...
tagging.txt Loading commit data...
ui-framework.txt Loading commit data...
undo.txt Loading commit data...
vbr.txt Loading commit data...
xcf.txt Loading commit data...