diff pidgin/gtkconv.c @ 29051:39a48c780bcb

pidgin: Change the 'disabled' look in the Send To menu to apply to all offline buddies in a contact. I think this is more useful and seems reasonable now that most protocols (at least the ones I use) support offline messages. Closes #5464.
author Paul Aurich <paul@darkrain42.org>
date Sun, 29 Nov 2009 03:19:51 +0000
parents b027d1d97edb
children 5c77b620375c 0b48f58e8c50 f75c1323c996 1e19c439fa7a
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sun Nov 29 01:50:36 2009 +0000
+++ b/pidgin/gtkconv.c	Sun Nov 29 03:19:51 2009 +0000
@@ -3903,8 +3903,7 @@
 	gtk_box_pack_start(GTK_BOX(box), label, TRUE, TRUE, 4);
 
 	if (buddy != NULL &&
-	    !purple_presence_is_online(purple_buddy_get_presence(buddy)) &&
-	    !purple_account_supports_offline_message(account, buddy))
+	    !purple_presence_is_online(purple_buddy_get_presence(buddy)))
 	{
 		gtk_widget_set_sensitive(label, FALSE);