diff src/gtkconv.c @ 5911:865f235ffaf0

[gaim-migrate @ 6343] Set the Alias menu item in the Conversation menu to be insensitive if the buddy is not added. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 17 Jun 2003 07:37:35 +0000
parents ed8a9a3bf7e2
children b85e88d3fa5f
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Jun 17 04:28:19 2003 +0000
+++ b/src/gtkconv.c	Tue Jun 17 07:37:35 2003 +0000
@@ -1876,16 +1876,17 @@
 
 			gtk_widget_show(gtkwin->menu.add);
 			gtk_widget_hide(gtkwin->menu.remove);
+			gtk_widget_set_sensitive(gtkwin->menu.alias, FALSE);
 		}
 		else {
 			gtk_widget_show(gtkwin->menu.remove);
 			gtk_widget_hide(gtkwin->menu.add);
+			gtk_widget_set_sensitive(gtkwin->menu.alias, TRUE);
 		}
 
 		gtk_widget_set_sensitive(gtkwin->menu.add,    TRUE);
 		gtk_widget_set_sensitive(gtkwin->menu.remove, TRUE);
 
-		gtk_widget_set_sensitive(gtkwin->menu.alias, TRUE);
 
 		gtk_widget_hide(gtkwin->menu.invite);