Thu, 12 Feb 2004 05:26:52 +0000
[gaim-migrate @ 8958]
A bunch of minor changes, much of it from Gary Kramlich
(amc_grim/xgrimx):
gaim-away_do_menu_leak.diff - plugs a memory leak in
the do away menu code
gaim-gtkpounce_smart_menu.diff - makes the buddy pounce
menu only show currently online accounts so that we can
edit them. With the current pounce dialog you can only
edit pounces for accounts that are online, this stops
users from inadvertently change the account for which a
pounce belongs.
gaim-remove_pouces_with_account.diff - removes pounces
for an account when that account is deleted. It adds a
function to pounce.[ch];
gaim_pounces_delete_all_from_account, the doxygen help
has been added to punce.h so that it will generate it
with the rest of the doxygen api.
gaim-yahoo_segfault_on_self_pounce.diff - fixes a
segfault which occurred with yahoo if you had a pounce
set on yourself to message on signon. What was
happening was that the display name was being set after
the pounces were being executed. This fixes that.
committer: Mark Doliner <markdoliner@pidgin.im>
| 960 | 1 | /* |
| 2 | * gaim | |
| 3 | * | |
| 8046 | 4 | * Gaim is the legal property of its developers, whose names are too numerous |
| 5 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 6 | * source distribution. | |
| 960 | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | |
| 9 | * it under the terms of the GNU General Public License as published by | |
| 10 | * the Free Software Foundation; either version 2 of the License, or | |
| 11 | * (at your option) any later version. | |
| 12 | * | |
| 13 | * This program is distributed in the hope that it will be useful, | |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | * GNU General Public License for more details. | |
| 17 | * | |
| 18 | * You should have received a copy of the GNU General Public License | |
| 19 | * along with this program; if not, write to the Free Software | |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | * | |
| 22 | */ | |
| 23 | ||
|
2417
7751d1269b09
[gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2402
diff
changeset
|
24 | #ifndef _MULTI_H_ |
|
7751d1269b09
[gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2402
diff
changeset
|
25 | #define _MULTI_H_ |
| 960 | 26 | |
|
5563
d5a7852aa0cb
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5469
diff
changeset
|
27 | #include "account.h" |
|
5205
242b8aa81328
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
5136
diff
changeset
|
28 | #include "plugin.h" |
| 960 | 29 | |
|
4333
f4c095774bc2
[gaim-migrate @ 4597]
Mark Doliner <markdoliner@pidgin.im>
parents:
4111
diff
changeset
|
30 | struct proto_actions_menu { |
|
f4c095774bc2
[gaim-migrate @ 4597]
Mark Doliner <markdoliner@pidgin.im>
parents:
4111
diff
changeset
|
31 | char *label; |
|
5563
d5a7852aa0cb
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5469
diff
changeset
|
32 | void (*callback)(GaimConnection *); |
|
d5a7852aa0cb
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5469
diff
changeset
|
33 | GaimConnection *gc; |
|
4333
f4c095774bc2
[gaim-migrate @ 4597]
Mark Doliner <markdoliner@pidgin.im>
parents:
4111
diff
changeset
|
34 | }; |
|
f4c095774bc2
[gaim-migrate @ 4597]
Mark Doliner <markdoliner@pidgin.im>
parents:
4111
diff
changeset
|
35 | |
|
2170
5c93594ff522
[gaim-migrate @ 2180]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2154
diff
changeset
|
36 | struct proto_buddy_menu { |
|
5c93594ff522
[gaim-migrate @ 2180]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2154
diff
changeset
|
37 | char *label; |
|
5563
d5a7852aa0cb
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5469
diff
changeset
|
38 | void (*callback)(GaimConnection *, const char *); |
|
d5a7852aa0cb
[gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
5469
diff
changeset
|
39 | GaimConnection *gc; |
|
2170
5c93594ff522
[gaim-migrate @ 2180]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2154
diff
changeset
|
40 | }; |
|
5c93594ff522
[gaim-migrate @ 2180]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2154
diff
changeset
|
41 | |
|
2204
86b6aedfc586
[gaim-migrate @ 2214]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2197
diff
changeset
|
42 | struct proto_chat_entry { |
|
86b6aedfc586
[gaim-migrate @ 2214]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2197
diff
changeset
|
43 | char *label; |
| 5234 | 44 | char *identifier; |
|
2205
68c42ce8eba6
[gaim-migrate @ 2215]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2204
diff
changeset
|
45 | char *def; |
|
2204
86b6aedfc586
[gaim-migrate @ 2214]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2197
diff
changeset
|
46 | gboolean is_int; |
|
86b6aedfc586
[gaim-migrate @ 2214]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2197
diff
changeset
|
47 | int min; |
|
86b6aedfc586
[gaim-migrate @ 2214]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2197
diff
changeset
|
48 | int max; |
| 5925 | 49 | gboolean secret; |
|
2204
86b6aedfc586
[gaim-migrate @ 2214]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2197
diff
changeset
|
50 | }; |
|
86b6aedfc586
[gaim-migrate @ 2214]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2197
diff
changeset
|
51 | |
| 8170 | 52 | struct proto_pref { |
| 53 | char *key; | |
| 54 | char *label; | |
| 55 | int min; | |
| 56 | int max; | |
| 57 | }; | |
| 58 | ||
|
2417
7751d1269b09
[gaim-migrate @ 2430]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2402
diff
changeset
|
59 | #endif /* _MULTI_H_ */ |
|
5910
023ffcb2be70
[gaim-migrate @ 6342]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
60 | |
|
023ffcb2be70
[gaim-migrate @ 6342]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
61 | /* A big line. */ |
|
023ffcb2be70
[gaim-migrate @ 6342]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
62 | /* -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ |