changeset 28670: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 ce29013a5f3a
children f2a69bee9ef6
files ChangeLog pidgin/gtkconv.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 29 01:50:36 2009 +0000
+++ b/ChangeLog	Sun Nov 29 03:19:51 2009 +0000
@@ -71,6 +71,9 @@
 	* Add a hold button to the media window.
 	* Fix a bug where the conversation backlog stops scrolling in a very busy
 	  chat room.
+	* In the Conversation "Send To" menu, offline buddies appear grayed
+	  out (but are still selectable).  Previously, only offline buddies on
+	  accounts that do not support offline messaging appeared grayed out.
 
 	Pidgin Preference and Preference Window Changes:
 	* Removed the "Use font from theme" and "Conversation Font" preferences
--- 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);