• Ell's avatar
    app, libgimp: communicate dark-theme preference to plug-ins through theme.css · 8c96c3d1
    Ell authored
    The GUI implementation of gimp_wait() relies on the ability to run
    plug-ins (namely, the busy-dialog plug-in) without entering the
    main loop.  This prohibits the said plug-ins from making any PDB
    calls, which would result in a deadlock.  However, we're currently
    calling gimp_gimprc_query() to fetch the prefer-dark-theme option
    during gimp_ui_init() (or any time the theme.css file changes).
    
    Instead, communicate this preference through the theme.css file
    itself, by writing a /* prefer-dark-theme */ comment to the file
    when the option is set.  Yes, it's a bit of a hack :P
    8c96c3d1
Name
Last commit
Last update
..
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
gimp.c Loading commit data...
gimp.def Loading commit data...
gimp.h Loading commit data...
gimp_pdb.c Loading commit data...
gimp_pdb.h Loading commit data...
gimp_pdb_headers.h Loading commit data...
gimpaspectpreview.c Loading commit data...
gimpaspectpreview.h Loading commit data...
gimpbrush_pdb.c Loading commit data...
gimpbrush_pdb.h Loading commit data...
gimpbrushes_pdb.c Loading commit data...
gimpbrushes_pdb.h Loading commit data...
gimpbrushselect.c Loading commit data...
gimpbrushselect.h Loading commit data...
gimpbrushselect_pdb.c Loading commit data...
gimpbrushselect_pdb.h Loading commit data...
gimpbrushselectbutton.c Loading commit data...
gimpbrushselectbutton.h Loading commit data...
gimpbuffer_pdb.c Loading commit data...
gimpbuffer_pdb.h Loading commit data...
gimpchannel.c Loading commit data...
gimpchannel.h Loading commit data...
gimpchannel_pdb.c Loading commit data...
gimpchannel_pdb.h Loading commit data...
gimpcontext_pdb.c Loading commit data...
gimpcontext_pdb.h Loading commit data...
gimpdebug_pdb.c Loading commit data...
gimpdebug_pdb.h Loading commit data...
gimpdisplay_pdb.c Loading commit data...
gimpdisplay_pdb.h Loading commit data...
gimpdrawable.c Loading commit data...
gimpdrawable.h Loading commit data...
gimpdrawable_pdb.c Loading commit data...
gimpdrawable_pdb.h Loading commit data...
gimpdrawablecolor_pdb.c Loading commit data...
gimpdrawablecolor_pdb.h Loading commit data...
gimpdrawableedit_pdb.c Loading commit data...
gimpdrawableedit_pdb.h Loading commit data...
gimpdrawablepreview.c Loading commit data...
gimpdrawablepreview.h Loading commit data...
gimpdynamics_pdb.c Loading commit data...
gimpdynamics_pdb.h Loading commit data...
gimpedit_pdb.c Loading commit data...
gimpedit_pdb.h Loading commit data...
gimpenums.c.tail Loading commit data...
gimpenums.h Loading commit data...
gimpexport.c Loading commit data...
gimpexport.h Loading commit data...
gimpfileops_pdb.c Loading commit data...
gimpfileops_pdb.h Loading commit data...
gimpfloatingsel_pdb.c Loading commit data...
gimpfloatingsel_pdb.h Loading commit data...
gimpfonts_pdb.c Loading commit data...
gimpfonts_pdb.h Loading commit data...
gimpfontselect.c Loading commit data...
gimpfontselect.h Loading commit data...
gimpfontselect_pdb.c Loading commit data...
gimpfontselect_pdb.h Loading commit data...
gimpfontselectbutton.c Loading commit data...
gimpfontselectbutton.h Loading commit data...
gimpgimprc.c Loading commit data...
gimpgimprc.h Loading commit data...
gimpgimprc_pdb.c Loading commit data...
gimpgimprc_pdb.h Loading commit data...
gimpgradient_pdb.c Loading commit data...
gimpgradient_pdb.h Loading commit data...
gimpgradients_pdb.c Loading commit data...
gimpgradients_pdb.h Loading commit data...
gimpgradientselect.c Loading commit data...
gimpgradientselect.h Loading commit data...
gimpgradientselect_pdb.c Loading commit data...
gimpgradientselect_pdb.h Loading commit data...
gimpgradientselectbutton.c Loading commit data...
gimpgradientselectbutton.h Loading commit data...
gimphelp_pdb.c Loading commit data...
gimphelp_pdb.h Loading commit data...
gimpimage.c Loading commit data...
gimpimage.h Loading commit data...
gimpimage_pdb.c Loading commit data...
gimpimage_pdb.h Loading commit data...
gimpimagecolorprofile.c Loading commit data...
gimpimagecolorprofile.h Loading commit data...
gimpimagecolorprofile_pdb.c Loading commit data...
gimpimagecolorprofile_pdb.h Loading commit data...
gimpimagecombobox.c Loading commit data...
gimpimagecombobox.h Loading commit data...
gimpimageconvert_pdb.c Loading commit data...
gimpimageconvert_pdb.h Loading commit data...
gimpimagegrid_pdb.c Loading commit data...
gimpimagegrid_pdb.h Loading commit data...
gimpimageguides_pdb.c Loading commit data...
gimpimageguides_pdb.h Loading commit data...
gimpimagemetadata.c Loading commit data...
gimpimagemetadata.h Loading commit data...
gimpimagesamplepoints_pdb.c Loading commit data...
gimpimagesamplepoints_pdb.h Loading commit data...
gimpimageselect_pdb.c Loading commit data...
gimpimageselect_pdb.h Loading commit data...
gimpimagetransform_pdb.c Loading commit data...
gimpimagetransform_pdb.h Loading commit data...
gimpimageundo_pdb.c Loading commit data...
gimpimageundo_pdb.h Loading commit data...
gimpitem_pdb.c Loading commit data...
gimpitem_pdb.h Loading commit data...
gimpitemcombobox.c Loading commit data...
gimpitemcombobox.h Loading commit data...
gimpitemtransform_pdb.c Loading commit data...
gimpitemtransform_pdb.h Loading commit data...
gimplayer.c Loading commit data...
gimplayer.h Loading commit data...
gimplayer_pdb.c Loading commit data...
gimplayer_pdb.h Loading commit data...
gimpmessage_pdb.c Loading commit data...
gimpmessage_pdb.h Loading commit data...
gimppainttools_pdb.c Loading commit data...
gimppainttools_pdb.h Loading commit data...
gimppalette_pdb.c Loading commit data...
gimppalette_pdb.h Loading commit data...
gimppalettes_pdb.c Loading commit data...
gimppalettes_pdb.h Loading commit data...
gimppaletteselect.c Loading commit data...
gimppaletteselect.h Loading commit data...
gimppaletteselect_pdb.c Loading commit data...
gimppaletteselect_pdb.h Loading commit data...
gimppaletteselectbutton.c Loading commit data...
gimppaletteselectbutton.h Loading commit data...
gimppattern_pdb.c Loading commit data...
gimppattern_pdb.h Loading commit data...
gimppatterns_pdb.c Loading commit data...
gimppatterns_pdb.h Loading commit data...
gimppatternselect.c Loading commit data...
gimppatternselect.h Loading commit data...
gimppatternselect_pdb.c Loading commit data...
gimppatternselect_pdb.h Loading commit data...
gimppatternselectbutton.c Loading commit data...
gimppatternselectbutton.h Loading commit data...
gimppixbuf.c Loading commit data...
gimppixbuf.h Loading commit data...
gimppixelfetcher.c Loading commit data...
gimppixelfetcher.h Loading commit data...
gimppixelrgn.c Loading commit data...
gimppixelrgn.h Loading commit data...
gimpplugin.c Loading commit data...
gimpplugin.h Loading commit data...
gimpplugin_pdb.c Loading commit data...
gimpplugin_pdb.h Loading commit data...
gimpprocbrowserdialog.c Loading commit data...
gimpprocbrowserdialog.h Loading commit data...
gimpproceduraldb.c Loading commit data...
gimpproceduraldb.h Loading commit data...
gimpproceduraldb_pdb.c Loading commit data...
gimpproceduraldb_pdb.h Loading commit data...
gimpprocview.c Loading commit data...
gimpprocview.h Loading commit data...
gimpprogress.c Loading commit data...
gimpprogress.h Loading commit data...
gimpprogress_pdb.c Loading commit data...
gimpprogress_pdb.h Loading commit data...
gimpprogressbar.c Loading commit data...
gimpprogressbar.h Loading commit data...
gimpregioniterator.c Loading commit data...
gimpregioniterator.h Loading commit data...
gimpselectbutton.c Loading commit data...
gimpselectbutton.h Loading commit data...
gimpselection.c Loading commit data...
gimpselection.h Loading commit data...
gimpselection_pdb.c Loading commit data...
gimpselection_pdb.h Loading commit data...
gimptextlayer_pdb.c Loading commit data...
gimptextlayer_pdb.h Loading commit data...
gimptexttool_pdb.c Loading commit data...
gimptexttool_pdb.h Loading commit data...
gimptile.c Loading commit data...
gimptile.h Loading commit data...
gimptilebackendplugin.c Loading commit data...
gimptilebackendplugin.h Loading commit data...
gimptypes.h Loading commit data...
gimpui.c Loading commit data...
gimpui.def Loading commit data...
gimpui.h Loading commit data...
gimpuimarshal.list Loading commit data...
gimpuitypes.h Loading commit data...
gimpunit_pdb.c Loading commit data...
gimpunit_pdb.h Loading commit data...
gimpunitcache.c Loading commit data...
gimpunitcache.h Loading commit data...
gimpvectors_pdb.c Loading commit data...
gimpvectors_pdb.h Loading commit data...
gimpzoompreview.c Loading commit data...
gimpzoompreview.h Loading commit data...
libgimp-intl.h Loading commit data...
stdplugins-intl.h Loading commit data...