Skip to content
  • Michael Natterer's avatar
    added new function gimp_toggle_button_set_visible() which can be used as · d8a5ca6c
    Michael Natterer authored
    2004-11-23  Michael Natterer  <mitch@gimp.org>
    
    	* app/widgets/gimpwidgets-utils.[ch]: added new function
    	gimp_toggle_button_set_visible() which can be used as "toggled"
    	callback on a GtkToggleButton and sets a widget (in)visible
    	according to the toggle's "active" state.
    
    	* app/tools/gimpblendoptions.c
    	* app/tools/gimppaintoptions-gui.c
    	* app/tools/gimpselectionoptions.c: use it to hide (rather than
    	just insensitize) the seldomly used "Feather edges", "Autoshrink
    	selection", "Adaptive supersampling", "Fade out" and "Use color
    	from gradient" widgets when their enabling toggle is unchecked.
    	Makes the affected tool options much less crowded and noisy in
    	their default appearance. Fixes bug #159008.
    d8a5ca6c