From 2ce045101f812e4a80a2c52e8b405bb65b734537 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 2 Apr 1998 18:16:57 +0000 Subject: [PATCH] The impossibility of duplicating a non-auxillary channel is now reflected by the menu-sensitivity. --Sven --- ChangeLog | 5 +++++ app/channels_dialog.c | 2 +- app/gui/channels-dialog.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40b4462516..af1236b871 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 2 20:09:06 MEST 1998 Sven Neumann + + * 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 * updated iwarp to the version on the registry and reapplied diff --git a/app/channels_dialog.c b/app/channels_dialog.c index be1fc60c6c..6767ab7fd3 100644 --- a/app/channels_dialog.c +++ b/app/channels_dialog.c @@ -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 */ diff --git a/app/gui/channels-dialog.c b/app/gui/channels-dialog.c index be1fc60c6c..6767ab7fd3 100644 --- a/app/gui/channels-dialog.c +++ b/app/gui/channels-dialog.c @@ -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 */