Mercurial > pidgin
diff finch/gntconv.c @ 22437:ca6bc025aabb
Patch from Kyle Turman to show the alias when available in the typing notification. Closes #4957.
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Fri, 07 Mar 2008 22:03:24 +0000 |
| parents | b0b8c94118c8 |
| children | c7c97c62e131 |
line wrap: on
line diff
--- a/finch/gntconv.c Fri Mar 07 16:56:02 2008 +0000 +++ b/finch/gntconv.c Fri Mar 07 22:03:24 2008 +0000 @@ -293,7 +293,7 @@ g_free(str); scroll = gnt_text_view_get_lines_below(GNT_TEXT_VIEW(ggc->tv)); - str = g_strdup_printf(_("\n%s is typing..."), purple_conversation_get_name(conv)); + str = g_strdup_printf(_("\n%s is typing..."), purple_conversation_get_title(conv)); /* Updating is a little buggy. So just remove and add a new one */ gnt_text_view_tag_change(GNT_TEXT_VIEW(ggc->tv), "typing", NULL, TRUE); gnt_text_view_append_text_with_tag(GNT_TEXT_VIEW(ggc->tv), @@ -879,7 +879,7 @@ if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM && purple_conv_im_get_typing_state(PURPLE_CONV_IM(conv)) == PURPLE_TYPING) { - strip = g_strdup_printf(_("\n%s is typing..."), purple_conversation_get_name(conv)); + strip = g_strdup_printf(_("\n%s is typing..."), purple_conversation_get_title(conv)); gnt_text_view_append_text_with_tag(GNT_TEXT_VIEW(ggconv->tv), strip, GNT_TEXT_FLAG_DIM, "typing"); g_free(strip);
