Mercurial > pidgin
annotate src/dbus-define-api.h @ 11261:b53606580f68
[gaim-migrate @ 13439]
Patch #1226486 from Levi Bard
Fixes bug #1224178
If you change the topic in a chat room and that topic change is rejected, the
topic field is wrong -- it shows the new topic even thought it didn't get set.
This patch resets the GUI's topic immediately when you hit enter. Then, if the
topic change is successful, the server will echo the topic change back to us
and we'll update the GUI to the new topic.
The only question is, does the server always echo the topic back to us? From the
core's point of view, I'm ready to assume yes. It's the case for both IRC and
Jabber*. If someone could test changing a topic in SILC or Zephyr, that'd be
great. If servers using those protocols do not echo the topic back, the prpl
will have to fake it as appropriate.
* I didn't actually test on Jabber, but Nathan said the server will echo the
topic change back. If it's broken, let me know.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 14 Aug 2005 06:55:57 +0000 |
parents | 1c5398ccbeb0 |
children | 8bda65b88e49 |
rev | line source |
---|---|
11146 | 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 |