Mercurial > pidgin
annotate src/protocols/zephyr/ZCmpUIDP.c @ 11249:b4b1be482b4e
[gaim-migrate @ 13418]
sf patch #1235519, from Sadrul Habib Chowdhury
This is a pretty big patch that makes Gaim correctly save and restore
the current status (away/available, away message, available message,
invisible, etc).
The GaimGtkStatusBoxWidget thing I think defaults to "Available"
every time its created, which overrides the setting that was saved
to the XML file. So that still needs to be fixed before this will
really work.
Anyway, mad props to Sadrul for putting up with my requests on this patch
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sat, 13 Aug 2005 05:22:09 +0000 |
| parents | 64895571248f |
| children |
| rev | line source |
|---|---|
| 2086 | 1 /* This file is part of the Project Athena Zephyr Notification System. |
| 2 * It contains source for the ZCompareUIDPred function. | |
| 3 * | |
| 4 * Created by: Robert French | |
| 5 * | |
| 6 * Copyright (c) 1987 by the Massachusetts Institute of Technology. | |
| 7 * For copying and distribution information, see the file | |
| 8 * "mit-copyright.h". | |
| 9 */ | |
| 10 | |
|
8792
43d6c08d7e96
[gaim-migrate @ 9554]
Christian Hammond <chipx86@chipx86.com>
parents:
2086
diff
changeset
|
11 #include "internal.h" |
| 2086 | 12 |
| 13 int ZCompareUIDPred(notice, uid) | |
| 14 ZNotice_t *notice; | |
| 15 void *uid; | |
| 16 { | |
| 17 return (ZCompareUID(¬ice->z_uid, (ZUnique_Id_t *) uid)); | |
| 18 } | |
| 19 | |
| 20 int ZCompareMultiUIDPred(notice, uid) | |
| 21 ZNotice_t *notice; | |
| 22 void *uid; | |
| 23 { | |
| 24 return (ZCompareUID(¬ice->z_multiuid, (ZUnique_Id_t *) uid)); | |
| 25 } |
