Mercurial > pidgin.yaz
changeset 4674:7ffe2b64de2d
[gaim-migrate @ 4985]
offline accounts are a pain
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 08 Mar 2003 07:21:09 +0000 |
parents | 049ea04f99d9 |
children | 3145c5c45877 |
files | src/gtkconv.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Sat Mar 08 06:51:40 2003 +0000 +++ b/src/gtkconv.c Sat Mar 08 07:21:09 2003 +0000 @@ -1955,7 +1955,6 @@ struct gaim_account *account; struct gaim_conversation *conv; struct gaim_gtk_window *gtkwin; - const char *username; GtkWidget *menu; GList *child; @@ -1973,8 +1972,6 @@ if (gtkwin->menu.send_as == NULL) return; - username = (account->gc == NULL ? account->username : account->gc->username); - gtk_widget_show(gtkwin->menu.send_as); menu = gtk_menu_item_get_submenu( @@ -2188,6 +2185,7 @@ gtk_widget_show(box); gtk_widget_set_sensitive(menuitem, FALSE); + g_object_set_data(G_OBJECT(menuitem), "gaim_account", account); gtk_widget_show(menuitem); gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem); @@ -4879,6 +4877,7 @@ } } else { + gtk_widget_set_sensitive(gtkconv->send, TRUE); if (win != NULL) { gtk_widget_set_sensitive(gtkwin->menu.insert_link, TRUE); }