Mercurial > pidgin
annotate libpurple/protocols/msn/error.c @ 30712:b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
author | masca@cpw.pidgin.im |
---|---|
date | Fri, 12 Mar 2010 02:26:57 +0000 |
parents | 9381188c362b |
children | a99b6dcdb60d |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 /** |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 * @file error.c Error functions |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 * |
15822 | 4 * purple |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 * |
15822 | 6 * Purple is the legal property of its developers, whose names are too numerous |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 * to list here. Please refer to the COPYRIGHT file distributed with this |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 * source distribution. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 * This program is free software; you can redistribute it and/or modify |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 * it under the terms of the GNU General Public License as published by |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 * the Free Software Foundation; either version 2 of the License, or |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 * (at your option) any later version. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 * This program is distributed in the hope that it will be useful, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 * GNU General Public License for more details. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 * You should have received a copy of the GNU General Public License |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 * along with this program; if not, write to the Free Software |
19681
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
15822
diff
changeset
|
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
23 */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 #include "msn.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 #include "error.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
26 |
30712
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
27 typedef struct |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
28 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
29 PurpleConnection *gc; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
30 char *who; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
31 char *group; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
32 gboolean add; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
33 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
34 } MsnAddRemData; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
35 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
36 const char * |
15678
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15382
diff
changeset
|
37 msn_error_get_text(unsigned int type, gboolean *debug) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
38 { |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
39 static char msg[256]; |
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
40 const char *result; |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
41 *debug = FALSE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
42 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
43 switch (type) { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 case 0: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
45 result = _("Unable to parse message"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
46 *debug = TRUE; |
15678
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15382
diff
changeset
|
47 break; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 case 200: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
49 result = _("Syntax Error (probably a client bug)"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
50 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
51 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 case 201: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
53 result = _("Invalid email address"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
54 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
55 case 205: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
56 result = _("User does not exist"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
58 case 206: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
59 result = _("Fully qualified domain name missing"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
60 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
61 case 207: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
62 result = _("Already logged in"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
63 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
64 case 208: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
65 result = _("Invalid username"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
66 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
67 case 209: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
68 result = _("Invalid friendly name"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
69 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
70 case 210: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
71 result = _("List full"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
72 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
73 case 215: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
74 result = _("Already there"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
75 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
76 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
77 case 216: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
78 result = _("Not on list"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
79 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
80 case 217: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
81 result = _("User is offline"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
82 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
83 case 218: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
84 result = _("Already in the mode"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
85 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
86 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
87 case 219: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
88 result = _("Already in opposite list"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
89 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
91 case 223: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
92 result = _("Too many groups"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
93 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
94 case 224: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
95 result = _("Invalid group"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 case 225: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
98 result = _("User not in group"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
99 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
100 case 229: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
101 result = _("Group name too long"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
102 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
103 case 230: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
104 result = _("Cannot remove group zero"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
105 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
107 case 231: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
108 result = _("Tried to add a user to a group that doesn't exist"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
109 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
110 case 280: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
111 result = _("Switchboard failed"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
112 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
113 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
114 case 281: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
115 result = _("Notify transfer failed"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
116 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
117 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
118 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
119 case 300: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
120 result = _("Required fields missing"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
121 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
122 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
123 case 301: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
124 result = _("Too many hits to a FND"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
125 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
126 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
127 case 302: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
128 result = _("Not logged in"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
129 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
130 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
131 case 500: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
132 result = _("Service temporarily unavailable"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
133 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
134 case 501: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
135 result = _("Database server error"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
136 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
137 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
138 case 502: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
139 result = _("Command disabled"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
140 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
141 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
142 case 510: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
143 result = _("File operation error"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
144 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
145 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
146 case 520: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
147 result = _("Memory allocation error"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
148 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
149 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
150 case 540: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
151 result = _("Wrong CHL value sent to server"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
152 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
153 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
154 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
155 case 600: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
156 result = _("Server busy"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
157 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
158 case 601: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
159 result = _("Server unavailable"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
160 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
161 case 602: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
162 result = _("Peer notification server down"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
163 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
164 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
165 case 603: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
166 result = _("Database connect error"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
167 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
168 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
169 case 604: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
170 result = _("Server is going down (abandon ship)"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
171 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
172 case 605: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
173 result = _("Server unavailable"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
174 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
175 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
176 case 707: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
177 result = _("Error creating connection"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
178 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
179 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
180 case 710: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
181 result = _("CVR parameters are either unknown or not allowed"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
182 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
183 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
184 case 711: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
185 result = _("Unable to write"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
186 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
187 case 712: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
188 result = _("Session overload"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
189 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
190 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
191 case 713: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
192 result = _("User is too active"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
193 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
194 case 714: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
195 result = _("Too many sessions"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
196 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
197 case 715: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
198 result = _("Passport not verified"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
199 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
200 case 717: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
201 result = _("Bad friend file"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
202 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
203 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
204 case 731: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
205 result = _("Not expected"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
206 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
207 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
208 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
209 case 800: |
27986
9381188c362b
Change the string "Friendly name changes too rapidly" to "Friendly
Mark Doliner <mark@kingant.net>
parents:
24871
diff
changeset
|
210 result = _("Friendly name is changing too rapidly"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
211 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
212 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
213 case 910: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
214 case 912: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
215 case 918: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
216 case 919: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
217 case 921: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
218 case 922: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
219 result = _("Server too busy"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
220 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
221 case 911: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
222 case 917: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
223 result = _("Authentication failed"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
224 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
225 case 913: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
226 result = _("Not allowed when offline"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
227 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
228 case 914: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
229 case 915: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
230 case 916: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
231 result = _("Server unavailable"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
232 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
233 case 920: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
234 result = _("Not accepting new users"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
235 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
236 case 923: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
237 result = _("Kids Passport without parental consent"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
238 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
239 case 924: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
240 result = _("Passport account not yet verified"); |
24022
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23298
diff
changeset
|
241 break; |
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23298
diff
changeset
|
242 case 927: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
243 result = _("Passport account suspended"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
244 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
245 case 928: |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
246 result = _("Bad ticket"); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
247 *debug = TRUE; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
248 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
249 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
250 default: |
24022
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23298
diff
changeset
|
251 g_snprintf(msg, sizeof(msg), |
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23298
diff
changeset
|
252 _("Unknown Error Code %d"), type); |
15691
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15678
diff
changeset
|
253 *debug = TRUE; |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
254 result = msg; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
255 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
256 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
257 |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
258 return result; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
259 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
260 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
261 void |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
262 msn_error_handle(MsnSession *session, unsigned int type) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
263 { |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
264 char *buf; |
15678
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15382
diff
changeset
|
265 gboolean debug; |
23298
5cdd93dac7a2
Delete trailing whitespace
Mark Doliner <mark@kingant.net>
parents:
23180
diff
changeset
|
266 |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
267 buf = g_strdup_printf(_("MSN Error: %s\n"), |
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
268 msn_error_get_text(type, &debug)); |
15678
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15382
diff
changeset
|
269 if (debug) |
15822 | 270 purple_debug_warning("msn", "error %d: %s\n", type, buf); |
15678
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15382
diff
changeset
|
271 else |
15822 | 272 purple_notify_error(session->account->gc, NULL, buf, NULL); |
24871
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24026
diff
changeset
|
273 g_free(buf); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
274 } |
24022
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23298
diff
changeset
|
275 |
30712
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
276 /* Remove the buddy referenced by the MsnAddRemData before the serverside list |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
277 * is changed. If the buddy will be added, he'll be added back; if he will be |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
278 * removed, he won't be. */ |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
279 /* Actually with our MSNP14 code that isn't true yet, he won't be added back :( |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
280 * */ |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
281 static void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
282 msn_complete_sync_issue(MsnAddRemData *data) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
283 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
284 PurpleBuddy *buddy; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
285 PurpleGroup *group = NULL; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
286 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
287 if (data->group != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
288 group = purple_find_group(data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
289 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
290 if (group != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
291 buddy = purple_find_buddy_in_group(purple_connection_get_account(data->gc), data->who, group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
292 else |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
293 buddy = purple_find_buddy(purple_connection_get_account(data->gc), data->who); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
294 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
295 if (buddy != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
296 purple_blist_remove_buddy(buddy); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
297 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
298 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
299 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
300 static void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
301 msn_add_cb(MsnAddRemData *data) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
302 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
303 #if 0 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
304 /* this *should* be necessary !! */ |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
305 msn_complete_sync_issue(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
306 #endif |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
307 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
308 if (g_list_find(purple_connections_get_all(), data->gc) != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
309 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
310 MsnSession *session = data->gc->proto_data; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
311 MsnUserList *userlist = session->userlist; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
312 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
313 msn_userlist_add_buddy(userlist, data->who, data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
314 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
315 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
316 g_free(data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
317 g_free(data->who); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
318 g_free(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
319 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
320 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
321 static void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
322 msn_rem_cb(MsnAddRemData *data) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
323 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
324 msn_complete_sync_issue(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
325 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
326 if (g_list_find(purple_connections_get_all(), data->gc) != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
327 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
328 MsnSession *session = data->gc->proto_data; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
329 MsnUserList *userlist = session->userlist; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
330 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
331 if (data->group == NULL) { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
332 msn_userlist_rem_buddy_from_list(userlist, data->who, MSN_LIST_FL); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
333 } else { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
334 g_free(data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
335 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
336 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
337 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
338 g_free(data->who); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
339 g_free(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
340 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
341 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
342 void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
343 msn_error_sync_issue(MsnSession *session, const char *passport, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
344 const char *group_name) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
345 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
346 PurpleConnection *gc; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
347 PurpleAccount *account; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
348 MsnAddRemData *data; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
349 char *msg, *reason; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
350 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
351 account = session->account; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
352 gc = purple_account_get_connection(account); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
353 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
354 data = g_new0(MsnAddRemData, 1); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
355 data->who = g_strdup(passport); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
356 data->group = g_strdup(group_name); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
357 data->gc = gc; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
358 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
359 msg = g_strdup_printf(_("Buddy list synchronization issue in %s (%s)"), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
360 purple_account_get_username(account), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
361 purple_account_get_protocol_name(account)); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
362 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
363 if (group_name != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
364 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
365 reason = g_strdup_printf(_("%s on the local list is " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
366 "inside the group \"%s\" but not on " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
367 "the server list. " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
368 "Do you want this buddy to be added?"), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
369 passport, group_name); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
370 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
371 else |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
372 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
373 reason = g_strdup_printf(_("%s is on the local list but " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
374 "not on the server list. " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
375 "Do you want this buddy to be added?"), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
376 passport); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
377 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
378 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
379 purple_request_action(gc, NULL, msg, reason, PURPLE_DEFAULT_ACTION_NONE, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
380 purple_connection_get_account(gc), data->who, NULL, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
381 data, 2, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
382 _("Yes"), G_CALLBACK(msn_add_cb), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
383 _("No"), G_CALLBACK(msn_rem_cb)); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
384 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
385 g_free(reason); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
386 g_free(msg); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
27986
diff
changeset
|
387 } |