The impossibility of duplicating a non-auxillary channel is now reflected

by the menu-sensitivity.


--Sven
This commit is contained in:
Sven Neumann 1998-04-02 18:16:57 +00:00
parent 98222c4e64
commit 2ce045101f
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Apr 2 20:09:06 MEST 1998 Sven Neumann <sven@gimp.org>
* app/channels_dialog.c: the impossibility of duplicating a
non-auxillary channel is now reflected by the menu-sensitivity
Thu Apr 2 15:34:22 MEST 1998 Sven Neumann <sven@gimp.org>
* updated iwarp to the version on the registry and reapplied

View File

@ -518,7 +518,7 @@ channels_dialog_set_menu_sensitivity ()
/* lower channel */
gtk_widget_set_sensitive (channels_ops[2].widget, !fs_sensitive && aux_sensitive);
/* duplicate channel */
gtk_widget_set_sensitive (channels_ops[3].widget, !fs_sensitive );
gtk_widget_set_sensitive (channels_ops[3].widget, !fs_sensitive && aux_sensitive);
/* delete channel */
gtk_widget_set_sensitive (channels_ops[4].widget, !fs_sensitive && aux_sensitive);
/* channel to selection */

View File

@ -518,7 +518,7 @@ channels_dialog_set_menu_sensitivity ()
/* lower channel */
gtk_widget_set_sensitive (channels_ops[2].widget, !fs_sensitive && aux_sensitive);
/* duplicate channel */
gtk_widget_set_sensitive (channels_ops[3].widget, !fs_sensitive );
gtk_widget_set_sensitive (channels_ops[3].widget, !fs_sensitive && aux_sensitive);
/* delete channel */
gtk_widget_set_sensitive (channels_ops[4].widget, !fs_sensitive && aux_sensitive);
/* channel to selection */