changeset 20980:2ba0963b5bdc

Use the conversation title for unread message tooltips. Fixes #3557.
author Casey Harkins <charkins@pidgin.im>
date Thu, 18 Oct 2007 06:15:56 +0000
parents cb5cbe04a340
children 145ee1570fc0
files pidgin/gtkblist.c pidgin/gtkdocklet.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Wed Oct 17 18:13:33 2007 +0000
+++ b/pidgin/gtkblist.c	Thu Oct 18 06:15:56 2007 +0000
@@ -3987,7 +3987,7 @@
 
 			g_string_append_printf(tooltip_text,
 					ngettext("%d unread message from %s\n", "%d unread messages from %s\n", count),
-					count, purple_conversation_get_name(l->data));
+					count, purple_conversation_get_title(l->data));
 			l = l->next;
 		}
 		if(tooltip_text->len > 0) {
--- a/pidgin/gtkdocklet.c	Wed Oct 17 18:13:33 2007 +0000
+++ b/pidgin/gtkdocklet.c	Thu Oct 18 06:15:56 2007 +0000
@@ -154,13 +154,13 @@
 					g_string_append_printf(tooltip_text,
 						ngettext("%d unread message from %s\n", "%d unread messages from %s\n", gtkconv->unseen_count),
 						gtkconv->unseen_count,
-						gtk_label_get_text(GTK_LABEL(gtkconv->tab_label)));
+						purple_conversation_get_title(conv));
 				} else {
 					g_string_append_printf(tooltip_text,
 						ngettext("%d unread message from %s\n", "%d unread messages from %s\n",
 						GPOINTER_TO_INT(purple_conversation_get_data(conv, "unseen-count"))),
 						GPOINTER_TO_INT(purple_conversation_get_data(conv, "unseen-count")),
-						purple_conversation_get_name(conv));
+						purple_conversation_get_title(conv));
 				}
 			}