Mercurial > pidgin.yaz
annotate pidgin/gtkcertmgr.h @ 27109:fdc0035bea5a
Change the way we parse messages on MySpace a little bit. This
fixes #8846: people using web myspaceIM can't respond to pidgin myspaceIM
For some reason IMs send using the myspace web site are sent so that
they won't become offline messages if the other person is offline.
I'm not really sure why that decision was made.
So now we treat messages with bm 1 the same as messages with bm 121. This means
we have to combine the function that parses out typing notification with
the function that parses IMs. And we check for typing notifications by
looking for %typing%. Which means if someone sends the IM "%typing%" with
no markup then we'll interpret it as a typing notification. And there's
nothing we can do to differentiate between the two. I asked.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 04 Jun 2009 05:19:49 +0000 |
parents | 44b4e8bd759b |
children |
rev | line source |
---|---|
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
1 /** |
19015
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
2 * @file gtkcertmgr.h GTK+ Certificate Manager API |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
3 * @ingroup pidgin |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
4 */ |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
5 /* |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
6 * pidgin |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
7 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
8 * Pidgin is the legal property of its developers, whose names are too numerous |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
9 * to list here. Please refer to the COPYRIGHT file distributed with this |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
10 * source distribution. |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
11 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
12 * This program is free software; you can redistribute it and/or modify |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
13 * it under the terms of the GNU General Public License as published by |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
14 * the Free Software Foundation; either version 2 of the License, or |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
15 * (at your option) any later version. |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
16 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
17 * This program is distributed in the hope that it will be useful, |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
20 * GNU General Public License for more details. |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
21 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
22 * You should have received a copy of the GNU General Public License |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
23 * along with this program; if not, write to the Free Software |
19680
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19037
diff
changeset
|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
19015
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
25 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
26 */ |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
27 |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
28 #ifndef _PIDGINCERTMGR_H_ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
29 #define _PIDGINCERTMGR_H_ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
30 |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
31 /************************************************************************** |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
32 * @name Structures * |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
33 **************************************************************************/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
34 typedef struct _PidginCertificateManager PidginCertificateManager; |
19015
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
35 |
19036
caec09fdcc12
- Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19031
diff
changeset
|
36 /** |
caec09fdcc12
- Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19031
diff
changeset
|
37 * GTK+ Certificate Manager subwidget |
caec09fdcc12
- Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19031
diff
changeset
|
38 */ |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
39 struct _PidginCertificateManager { |
19036
caec09fdcc12
- Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19031
diff
changeset
|
40 /** Create, configure, show, and return the management interface */ |
caec09fdcc12
- Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19031
diff
changeset
|
41 GtkWidget * (* build)(void); |
19037
d33d3203bbeb
- Add label field to PidginCertificateManager
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19036
diff
changeset
|
42 /** Notebook label to use in the CertMgr dialog */ |
d33d3203bbeb
- Add label field to PidginCertificateManager
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19036
diff
changeset
|
43 gchar *label; |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
44 }; |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
45 |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
46 /**************************************************************************/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
47 /** @name Certificate Manager API */ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
48 /**************************************************************************/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
49 /*@{*/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
50 /** |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
51 * Show the certificate manager window |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
52 */ |
19015
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
53 void pidgin_certmgr_show(void); |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
54 |
19031
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
55 /** |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
56 * Hide the certificate manager window |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
57 */ |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
58 void pidgin_certmgr_hide(void); |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
59 |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
60 /*@}*/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
61 |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
62 #endif /* _PIDGINCERTMGR_H_ */ |