Mercurial > pidgin.yaz
annotate libgaim/dbus-define-api.h @ 15000:82d1a2fc6d25
[gaim-migrate @ 17778]
SF Patch #1598994 from lexande
Fixes SF Bug #1581999
Original Description:
"The gaim 2.0.0beta5 log reader plugin uses the "Date" XML field in MSN logs, the format of which varies between locales, leading to logs being displayed on incorrect/future dates in locales that do not use the MM/DD/YYYY format. This patch fixes the plugin to use the "DateTime" field which has YYYY-MM-DD date in all locales."
I totally Warmenhovened this patch. My approach:
"I'm using the Date, Time, and DateTime fields. If I can determine that the log matches the current timezone, it'll display 100% properly in the log viewer. If it has a reasonable offset, it'll display as the original time, sort in the right place, but not have a timezone abbreviation. If the offset is bogus or I can't parse the Date or Time field, it'll display in UTC, but still sort properly. I think this is as ideal as is possible, given the data we have to work with."
You don't have to understand this. ;)
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 19 Nov 2006 06:54:38 +0000 |
parents | 60b1bc8dbf37 |
children |
rev | line source |
---|---|
14192 | 1 #error "This is file is not a valid C code" |
2 | |
3 /* This file contains some of the macros from other header files as | |
4 function declarations. This does not make sense in C, but it | |
5 provides type information for the dbus-analyze-functions.py | |
6 program, which makes these macros callable by DBUS. */ | |
7 | |
8 /* blist.h */ | |
9 gboolean GAIM_BLIST_NODE_IS_CHAT(GaimBlistNode *node); | |
10 gboolean GAIM_BLIST_NODE_IS_BUDDY(GaimBlistNode *node); | |
11 gboolean GAIM_BLIST_NODE_IS_CONTACT(GaimBlistNode *node); | |
12 gboolean GAIM_BLIST_NODE_IS_GROUP(GaimBlistNode *node); | |
13 gboolean GAIM_BUDDY_IS_ONLINE(GaimBuddy *buddy); | |
14 gboolean GAIM_BLIST_NODE_HAS_FLAG(GaimBlistNode *node, int flags); | |
15 gboolean GAIM_BLIST_NODE_SHOULD_SAVE(GaimBlistNode *node); | |
16 | |
17 /* connection.h */ | |
18 gboolean GAIM_CONNECTION_IS_CONNECTED(GaimConnection *connection); | |
19 gboolean GAIM_CONNECTION_IS_VALID(GaimConnection *connection); | |
20 | |
21 /* conversation.h */ | |
22 GaimConvIm *GAIM_CONV_IM(const GaimConversation *conversation); | |
23 GaimConvIm *GAIM_CONV_CHAT(const GaimConversation *conversation); | |
24 | |
25 |