pidgin: a8ebf821: Add support for %dateOpened% in template...
qulogic at pidgin.im
qulogic at pidgin.im
Fri Nov 18 14:55:49 EST 2011
----------------------------------------------------------------------
Revision: a8ebf82197c7bdca43c95963c9474e7d2733472f
Parent: 2f8a415d8f682ec483bd7c531cc3e2dc5cd4c379
Author: qulogic at pidgin.im
Date: 11/18/11 14:08:09
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a8ebf82197c7bdca43c95963c9474e7d2733472f
Changelog:
Add support for %dateOpened% in templates.
Changes against parent 2f8a415d8f682ec483bd7c531cc3e2dc5cd4c379
patched pidgin/gtkconv.c
-------------- next part --------------
============================================================
--- pidgin/gtkconv.c 82d6151bcd76befd4c4a9a67684c6032daba9399
+++ pidgin/gtkconv.c 8d9c32d601c3e9cd9f32ce117714081b6c0e6e7e
@@ -5098,6 +5098,9 @@ replace_header_tokens(PurpleConversation
replace = purple_utf8_strftime(format ? format : "%X", NULL);
g_free(format);
+ } else if (g_str_has_prefix(cur, "%dateOpened%")) {
+ replace = purple_date_format_short(NULL);
+
} else {
cur++;
continue;
More information about the Commits
mailing list