GNOME Bugzilla – Bug 138212
IFS Compose Delete button sensitivity not updated
Last modified: 2004-03-28 16:11:01 UTC
The Delete button sensitivity is not properly updated on Reset, Load, Undo/Redo, and parameter restore from parasite. This among other things allows deletion of all transformations with consequent crash (of the plug-in). A patch is attached. Reproduction: 1. Run IFS Compose 2. Delete a transformation 3. Click on Reset -- now you can't delete a transformation even if there are 3 of them 1. Run IFS Compose 2. Delete a transformation 3. Click on OK 4. Re-run IFS Compose (now it displays only two transformations) 5. Click twice on Delete -- IFS Compose crashes Etc.
Created attachment 25978 [details] [review] Proposed patch
This should at a later point be redone using GtkAction, but for now the patch looks good.
2004-03-28 Sven Neumann <sven@gimp.org> * plug-ins/ifscompose/ifscompose.c: applied patch from David Necas that updates the sensitivity of the Delete button and menu entry. Fixes bug 138212#. David, you don't mind seeing your name in the ChangeLog, do you? Oh, and could you add -p to the diff options in your .cvsrc? That would make it easier for us to review your patches.