Mercurial > pidgin.yaz
changeset 32825:411e11db1002
Add support for %shortTime% in themed messages. This is probably not
localized correctly.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 18 Nov 2011 19:49:08 +0000 |
parents | 910475e626be |
children | 3bcc868c6c8e |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Fri Nov 18 19:37:04 2011 +0000 +++ b/pidgin/gtkconv.c Fri Nov 18 19:49:08 2011 +0000 @@ -6133,6 +6133,9 @@ replace = purple_utf8_strftime(format ? format : "%X", NULL); g_free(format); + } else if (g_str_has_prefix(cur, "%shortTime%")) { + replace = purple_utf8_strftime("%H:%M", NULL); + } else if (g_str_has_prefix(cur, "%userIconPath%")) { if (flags & PURPLE_MESSAGE_SEND) { if (purple_account_get_bool(purple_conversation_get_account(conv), "use-global-buddyicon", TRUE)) {