changeset 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 211760926728
children b3c412884a22
files src/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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);