Mercurial > pidgin
changeset 31669:35395b98f6b5
So, it seems gtkconv checks on stuff in the prpl struct. The lack of
add_buddy in AIM and MSN disabled the Conversation->Add menu item.
Found by deryni.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 18 Jun 2011 06:59:36 +0000 |
parents | 2f74d4c0e63a |
children | 34404b2719c5 |
files | ChangeLog pidgin/gtkconv.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Jun 18 04:17:27 2011 +0000 +++ b/ChangeLog Sat Jun 18 06:59:36 2011 +0000 @@ -1,6 +1,9 @@ Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul version 2.8.1 (MM/DD/YYYY): + Pidgin: + * Fix Conversation->Add on AIM and MSN. + libpurple: * media: Actually use the specified TCP port from the TURN configuration to create a TCP relay candidate.
--- a/pidgin/gtkconv.c Sat Jun 18 04:17:27 2011 +0000 +++ b/pidgin/gtkconv.c Sat Jun 18 06:59:36 2011 +0000 @@ -6589,7 +6589,7 @@ if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) { - gtk_widget_set_sensitive(win->menu.add, (prpl_info->add_buddy != NULL)); + gtk_widget_set_sensitive(win->menu.add, (prpl_info->add_buddy != NULL) || (prpl_info->add_buddy_with_invite != NULL)); gtk_widget_set_sensitive(win->menu.remove, (prpl_info->remove_buddy != NULL)); gtk_widget_set_sensitive(win->menu.send_file, (prpl_info->send_file != NULL && (!prpl_info->can_receive_file ||