im.pidgin.pidgin: 690331e6b61603c992f5c10189aef410b65b83c3

charkins at pidgin.im charkins at pidgin.im
Thu Oct 18 02:25:39 EDT 2007


-----------------------------------------------------------------
Revision: 690331e6b61603c992f5c10189aef410b65b83c3
Ancestor: 9f2e0be2b91112e99baa40160913b63794df625f
Author: charkins at pidgin.im
Date: 2007-10-18T06:15:56
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkblist.c pidgin/gtkdocklet.c

ChangeLog: 

Use the conversation title for unread message tooltips. Fixes #3557.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	a328bc40e19ff30466a882f34a0cd63d2a4fd9e4
+++ pidgin/gtkblist.c	65d6197141137da5511548fd6623258ed53a4aa0
@@ -3987,7 +3987,7 @@ conversation_updated_cb(PurpleConversati
 
 			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) {
============================================================
--- pidgin/gtkdocklet.c	d3fbe3800758c767e9d16957a12e040757e9afdd
+++ pidgin/gtkdocklet.c	eb381eaeaf3ae8d80086b549cbb67dde2c4b937f
@@ -154,13 +154,13 @@ docklet_update_status()
 					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));
 				}
 			}
 


More information about the Commits mailing list