Mercurial > pidgin
annotate plugins/perl/common/Network.xs @ 12711:145f76e74a9f
[gaim-migrate @ 15055]
Fix SF Bug #1384698 - "Last word in text auto replace not changed"
This uses astro96's idea:
'when the user types something like "Hi how r u" they will see this
(where the "^" is the cursor):
"Hi how are u^"
When they hit enter to send the message, instead of sending
the message, the last word would be replaced:
[Enter]
"Hi how are you^"
and then if they hit enter again it would send the message.'
I code a preference for this, but have #if 0'ed it before committing. I don't think we need a preference to disable this. If it turns out I'm wrong, the code is right there to use.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 04 Jan 2006 03:01:32 +0000 |
parents | b284c703d398 |
children | d5b8f4dc1622 |
rev | line source |
---|---|
11118 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::Network PACKAGE = Gaim::Network PREFIX = gaim_network_ | |
4 PROTOTYPES: ENABLE | |
5 | |
6 const char * | |
7 gaim_network_get_local_system_ip(fd) | |
8 int fd | |
9 | |
10 const char * | |
11 gaim_network_get_my_ip(fd) | |
12 int fd | |
13 | |
14 unsigned short | |
15 gaim_network_get_port_from_fd(fd) | |
16 int fd | |
17 | |
18 const char * | |
19 gaim_network_get_public_ip() | |
20 | |
21 | |
22 void | |
23 gaim_network_init() | |
24 | |
25 | |
11262 | 26 const unsigned char * |
11118 | 27 gaim_network_ip_atoi(ip) |
28 const char *ip | |
29 | |
30 int | |
31 gaim_network_listen(port) | |
32 unsigned short port | |
33 | |
34 int | |
35 gaim_network_listen_range(start, end) | |
36 unsigned short start | |
37 unsigned short end | |
38 | |
39 void | |
40 gaim_network_set_public_ip(ip) | |
41 const char *ip | |
42 |