Mercurial > pidgin
annotate pidgin/gtkdialogs.c @ 32716:4f8626d4ef63
propagate from branch 'im.pidgin.pidgin' (head deb06ab6aa118efb674f1a8434ff529e67b28809)
to branch 'im.pidgin.cpw.qulogic.gtk3' (head 34c3103eabae4a4c23439048d383f73c94dfd23e)
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 23 Feb 2012 08:13:23 +0000 |
parents | 763d65f3f758 03137ceb5d0e |
children | f01d6c9f3492 |
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 gtkdialogs.c GTK+ Dialogs |
16193
247e421c4fa6
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@wiktel.com>
parents:
16191
diff
changeset
|
3 * @ingroup pidgin |
20251
6b8bc3309ab7
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@wiktel.com>
parents:
20241
diff
changeset
|
4 */ |
6b8bc3309ab7
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@wiktel.com>
parents:
20241
diff
changeset
|
5 |
6b8bc3309ab7
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@wiktel.com>
parents:
20241
diff
changeset
|
6 /* pidgin |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 * |
15870
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15841
diff
changeset
|
8 * Pidgin 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
|
9 * 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
|
10 * source distribution. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 * 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
|
13 * 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
|
14 * 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
|
15 * (at your option) any later version. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 * 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
|
18 * 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
|
19 * 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
|
20 * GNU General Public License for more details. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 * 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
|
23 * 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:
19532
diff
changeset
|
24 * 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
|
25 */ |
24350
8282911d5e17
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@wiktel.com>
parents:
24324
diff
changeset
|
26 #define _PIDGIN_GTKDIALOGS_C_ |
8282911d5e17
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@wiktel.com>
parents:
24324
diff
changeset
|
27 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
28 #include "internal.h" |
15513 | 29 #include "pidgin.h" |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
27676
diff
changeset
|
30 #include "package_revision.h" |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 #include "debug.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
33 #include "notify.h" |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
34 #include "plugin.h" |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
35 #include "prpl.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
36 #include "request.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
37 #include "util.h" |
25562
2a34a3f5da2e
applied changes from 20269e8849976ad6a0996f79ccbc0a12a311484f
Ethan Blanton <elb@pidgin.im>
parents:
25547
diff
changeset
|
38 #include "core.h" |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
39 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
40 #include "gtkblist.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
41 #include "gtkdialogs.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
42 #include "gtklog.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
43 #include "gtkutils.h" |
32059 | 44 #include "gtkwebview.h" |
15821
84b0f9b23ede
According to etags, pidgin/ should be completely clean of references to 'gaim' as a client
Sean Egan <seanegan@gmail.com>
parents:
15820
diff
changeset
|
45 #include "pidginstock.h" |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
47 static GList *dialogwindows = NULL; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 |
15820 | 49 struct _PidginGroupMergeObject { |
15822 | 50 PurpleGroup* parent; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
51 char *new_name; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
53 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
54 struct developer { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
55 char *name; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
56 char *role; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 char *email; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
58 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
59 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
60 struct translator { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
61 char *language; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
62 char *abbr; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
63 char *name; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
64 char *email; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
65 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
66 |
15387 | 67 struct artist { |
68 char *name; | |
69 char *email; | |
70 }; | |
71 | |
23179
40d3767fb1b9
Sync up the developer and CPW lists. This also sorts Sean Egan in with
Richard Laager <rlaager@wiktel.com>
parents:
23178
diff
changeset
|
72 /* Order: Alphabetical by Last Name */ |
21015
787b3897ba9f
Patch from Andrew Gaul to constify a bunch of static variables to reduce
Ka-Hing Cheung <khc@hxbc.us>
parents:
20365
diff
changeset
|
73 static const struct developer developers[] = { |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
74 {"Daniel 'datallah' Atallah", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
75 {"Paul 'darkrain42' Aurich", NULL, NULL}, |
31115
80db1ca54fb6
"Bug Master" really isn't all that appropriate title for me anymore, considering
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31050
diff
changeset
|
76 {"John 'rekkanoryo' Bailey", NULL, NULL}, |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
77 {"Ethan 'Paco-Paco' Blanton", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
78 {"Hylke Bons", N_("artist"), "hylkebons@gmail.com"}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
79 {"Sadrul Habib Chowdhury", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
80 {"Mark 'KingAnt' Doliner", NULL, "mark@kingant.net"}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
81 {"Gary 'grim' Kramlich", NULL, "grim@pidgin.im"}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
82 {"Richard 'rlaager' Laager", NULL, "rlaager@pidgin.im"}, |
30605
ec8094410550
Can I take some liberties?
Mark Doliner <mark@kingant.net>
parents:
30602
diff
changeset
|
83 {"Marcus 'malu' Lundblad", NULL, NULL}, |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
84 {"Sulabh 'sulabh_m' Mahajan", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
85 {"Richard 'wabz' Nelson", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
86 {"Etan 'deryni' Reisner", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
87 {"Michael 'Maiku' Ruprecht", N_("voice and video"), NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
88 {"Elliott 'QuLogic' Sales de Andrade", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
89 {"Luke 'LSchiere' Schierer", N_("support"), "lschiere@users.sf.net"}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
90 {"Evan Schoenberg", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
91 {"Kevin 'SimGuy' Stange", N_("webmaster"), NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
92 {"Will 'resiak' Thompson", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
93 {"Stu 'nosnilmot' Tomlinson", NULL, NULL}, |
30605
ec8094410550
Can I take some liberties?
Mark Doliner <mark@kingant.net>
parents:
30602
diff
changeset
|
94 {"Jorge 'Masca' Villaseñor", NULL, NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
95 {NULL, NULL, NULL} |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 /* Order: Alphabetical by Last Name */ |
21015
787b3897ba9f
Patch from Andrew Gaul to constify a bunch of static variables to reduce
Ka-Hing Cheung <khc@hxbc.us>
parents:
20365
diff
changeset
|
99 static const struct developer patch_writers[] = { |
31423
585afe54508c
Add Jakub Adam as a Crazy Patch Writer. He's contributed more than enough to
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31408
diff
changeset
|
100 {"Jakub 'haakon' Adam", NULL, NULL}, |
31468
283cee80741e
Induct two new CPW's to our list.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31430
diff
changeset
|
101 {"Krzysztof Klinikowski", NULL, NULL}, |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
102 {"Peter 'Fmoo' Ruibal", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
103 {"Gabriel 'Nix' Schulhof", NULL, NULL}, |
31468
283cee80741e
Induct two new CPW's to our list.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31430
diff
changeset
|
104 {"Tomasz Wasilczyk", NULL, NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
105 {NULL, NULL, NULL} |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
107 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
108 /* Order: Alphabetical by Last Name */ |
21015
787b3897ba9f
Patch from Andrew Gaul to constify a bunch of static variables to reduce
Ka-Hing Cheung <khc@hxbc.us>
parents:
20365
diff
changeset
|
109 static const struct developer retired_developers[] = { |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
110 {"Herman Bloggs", N_("win32 port"), "herman@bluedigits.com"}, |
29583
070d935eaecc
Move some cats to the retired list because I haven't seen them around
Mark Doliner <mark@kingant.net>
parents:
29360
diff
changeset
|
111 {"Thomas Butter", NULL, NULL}, |
31603
40d60f1c896e
You know, I've been telling myself that I am going to get back to
Ka-Hing Cheung <khc@hxbc.us>
parents:
31468
diff
changeset
|
112 /* feel free to not translate this */ |
32531
017908d13526
Can I mark Casey and Ivan as retired?
Mark Doliner <mark@kingant.net>
parents:
32348
diff
changeset
|
113 {N_("Ka-Hing Cheung"), NULL, NULL}, |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
114 {"Jim Duchek", N_("maintainer"), "jim@linuxpimps.com"}, |
30605
ec8094410550
Can I take some liberties?
Mark Doliner <mark@kingant.net>
parents:
30602
diff
changeset
|
115 {"Sean Egan", NULL, "sean.egan@gmail.com"}, |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
116 {"Rob Flynn", N_("maintainer"), NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
117 {"Adam Fritzler", N_("libfaim maintainer"), NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
118 {"Christian 'ChipX86' Hammond", N_("webmaster"), NULL}, |
32531
017908d13526
Can I mark Casey and Ivan as retired?
Mark Doliner <mark@kingant.net>
parents:
32348
diff
changeset
|
119 {"Casey Harkins", NULL, NULL}, |
017908d13526
Can I mark Casey and Ivan as retired?
Mark Doliner <mark@kingant.net>
parents:
32348
diff
changeset
|
120 {"Ivan Komarov", NULL, "ivan.komarov@pidgin.im"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
121 /* If "lazy bum" translates literally into a serious insult, use something else or omit it. */ |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
122 {"Syd Logan", N_("hacker and designated driver [lazy bum]"), NULL}, |
29583
070d935eaecc
Move some cats to the retired list because I haven't seen them around
Mark Doliner <mark@kingant.net>
parents:
29360
diff
changeset
|
123 {"Christopher 'siege' O'Brien", NULL, "taliesein@users.sf.net"}, |
070d935eaecc
Move some cats to the retired list because I haven't seen them around
Mark Doliner <mark@kingant.net>
parents:
29360
diff
changeset
|
124 {"Bartosz Oler", NULL, NULL}, |
30605
ec8094410550
Can I take some liberties?
Mark Doliner <mark@kingant.net>
parents:
30602
diff
changeset
|
125 {"Tim 'marv' Ringenbach", NULL, NULL}, |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
126 {"Megan 'Cae' Schneider", N_("support/QA"), NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
127 {"Jim Seymour", N_("XMPP"), NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
128 {"Mark Spencer", N_("original author"), "markster@marko.net"}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
129 {"Nathan 'faceprint' Walp", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
130 {"Eric Warmenhoven", N_("lead developer"), "warmenhoven@yahoo.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
131 {NULL, NULL, NULL} |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
132 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
133 |
18741
8d3e6226e186
Patch from John Bailey to bring the about window back to the present...
Gary Kramlich <grim@reaperworld.com>
parents:
18673
diff
changeset
|
134 /* Order: Alphabetical by Last Name */ |
21015
787b3897ba9f
Patch from Andrew Gaul to constify a bunch of static variables to reduce
Ka-Hing Cheung <khc@hxbc.us>
parents:
20365
diff
changeset
|
135 static const struct developer retired_patch_writers[] = { |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
136 {"Felipe 'shx' Contreras", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
137 {"Decklin Foster", NULL, NULL}, |
30605
ec8094410550
Can I take some liberties?
Mark Doliner <mark@kingant.net>
parents:
30602
diff
changeset
|
138 {"Dennis 'EvilDennisR' Ristuccia", N_("Senior Contributor/QA"), NULL}, |
28319
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
139 {"Peter 'Bleeter' Lawler", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
140 {"Robert 'Robot101' McQueen", NULL, NULL}, |
542b75da206e
Add Sulabh as a developer, as we were supposed to do once the Summer of Code
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
141 {"Benjamin Miller", NULL, NULL}, |
18741
8d3e6226e186
Patch from John Bailey to bring the about window back to the present...
Gary Kramlich <grim@reaperworld.com>
parents:
18673
diff
changeset
|
142 {NULL, NULL, NULL} |
8d3e6226e186
Patch from John Bailey to bring the about window back to the present...
Gary Kramlich <grim@reaperworld.com>
parents:
18673
diff
changeset
|
143 }; |
8d3e6226e186
Patch from John Bailey to bring the about window back to the present...
Gary Kramlich <grim@reaperworld.com>
parents:
18673
diff
changeset
|
144 |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
145 /* Order: Code, then Alphabetical by Last Name |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
146 Use NULL language and code for secondary translators. */ |
24306
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
147 static const struct translator translators[] = { |
22971
6e4a8987a614
Afrikaans translation updated (Samuel Murray)
Stu Tomlinson <stu@nosnilmot.com>
parents:
22951
diff
changeset
|
148 {N_("Afrikaans"), "af", "Samuel Murray", "afrikaans@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
149 {NULL, NULL, "Friedel Wolff", "friedel@translate.org.za"}, |
20268
a14208697dcd
Plucked translation changes:
Richard Laager <rlaager@wiktel.com>
parents:
20251
diff
changeset
|
150 {N_("Arabic"), "ar", "Khaled Hosny", "khaledhosny@eglug.org"}, |
29895 | 151 {N_("Assamese"), "as", "Amitakhya Phukan", "aphukan@fedoraproject.org"}, |
19740 | 152 {N_("Belarusian Latin"), "be@latin", "Ihar Hrachyshka", "ihar.hrachyshka@gmail.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
153 {N_("Bulgarian"), "bg", "Vladimira Girginova", "missing@here.is"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
154 {NULL, NULL, "Vladimir (Kaladan) Petkov", "kaladan@gmail.com"}, |
24826
7827ba7d5ad8
Add Israt Jahan to the about dialog for the Bengali translation.
Mark Doliner <mark@kingant.net>
parents:
24350
diff
changeset
|
155 {N_("Bengali"), "bn", "Israt Jahan", "israt@ankur.org.bd"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
156 {NULL, NULL, "Jamil Ahmed", "jamil@bengalinux.org"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
157 {NULL, NULL, "Samia Nimatullah", "mailsamia2001@yahoo.com"}, |
30639
1d5f8e977b54
I just noticed I didn't differentiate bn_IN from bn when I added this translation.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30628
diff
changeset
|
158 {N_("Bengali-India"), "bn_IN", "Runa Bhattacharjee", "runab@fedoraproject.org"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
159 {N_("Bosnian"), "bs", "Lejla Hadzialic", "lejlah@gmail.com"}, |
15796
52a044731fbe
lots of translation updates. Some of these I neglected for way too long.
Luke Schierer <lschiere@pidgin.im>
parents:
15614
diff
changeset
|
160 {N_("Catalan"), "ca", "Josep Puigdemont", "josep.puigdemont@gmail.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
161 {N_("Valencian-Catalan"), "ca@valencia", "Toni Hermoso", "toniher@softcatala.org"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
162 {NULL, NULL, "Josep Puigdemont", "tradgnome@softcatala.org"}, |
22581
c84b932aeeb2
Czech translation updated (David Vachulka)
Stu Tomlinson <stu@nosnilmot.com>
parents:
22389
diff
changeset
|
163 {N_("Czech"), "cs", "David Vachulka", "david@konstrukce-cad.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
164 {N_("Danish"), "da", "Morten Brix Pedersen", "morten@wtf.dk"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
165 {NULL, NULL, "Peter Bach", "bach.peter@gmail.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
166 {N_("German"), "de", "Björn Voigt", "bjoern@cs.tu-berlin.de"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
167 {NULL, NULL, "Jochen Kemnade", "jochenkemnade@web.de"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
168 {N_("Dzongkha"), "dz", "Norbu", "nor_den@hotmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
169 {NULL, NULL, "Jurmey Rabgay", "jur_gay@yahoo.com"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
170 {NULL, NULL, "Wangmo Sherpa", "rinwanshe@yahoo.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
171 {N_("Greek"), "el", "Katsaloulis Panayotis", "panayotis@panayotis.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
172 {NULL, NULL, "Bouklis Panos", "panos@echidna-band.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
173 {N_("Australian English"), "en_AU", "Peter Lawler", "trans@six-by-nine.com.au"}, |
31050
219ae743f3ea
Updated British English translation by new translator. Fixes #13014.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31049
diff
changeset
|
174 {N_("British English"), "en_GB", "Phil Hannent", "phil@hannent.co.uk"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
175 {N_("Canadian English"), "en_CA", "Adam Weinberger", "adamw@gnome.org"}, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
176 {N_("Esperanto"), "eo", "Stéphane Fillod", "fillods@users.sourceforge.net"}, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
177 {N_("Spanish"), "es", "Javier Fernández-Sanguino Peña", "jfs@debian.org"}, |
19286
bb460965c49c
15 translation updates. Our translators rock!
Mark Doliner <mark@kingant.net>
parents:
19284
diff
changeset
|
178 {N_("Estonian"), "et", "Ivar Smolin", "okul@linux.ee"}, |
27983
ee7fc9aec326
Rename Euskera(Basque) (sic.) to Basque per translator. Closes #9838.
Paul Aurich <paul@darkrain42.org>
parents:
27804
diff
changeset
|
179 {N_("Basque"), "eu", "Mikel Pascual Aldabaldetreku", "mikel.paskual@gmail.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
180 {N_("Persian"), "fa", "Elnaz Sarbar", "elnaz@farsiweb.info"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
181 {NULL, NULL, "Meelad Zakaria", "meelad@farsiweb.info"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
182 {NULL, NULL, "Roozbeh Pournader ", "roozbeh@farsiweb.info"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
183 {N_("Finnish"), "fi", "Timo Jyrinki", "timo.jyrinki@iki.fi"}, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
184 {N_("French"), "fr", "Éric Boumaour", "zongo_fr@users.sourceforge.net"}, |
24013
284c19091f8f
Added Irish translation from Aaron Kearns. This technically addes a string ("Irish"), but I'm going to do it anyway. Fixes #6836.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23747
diff
changeset
|
185 {N_("Irish"), "ga", "Aaron Kearns", "ajkearns6@gmail.com"}, |
18478 | 186 {N_("Galician"), "gl", "Mar Castro", "mariamarcp@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
187 {NULL, NULL, "Frco. Javier Rial", "fjrial@cesga.es"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
188 {N_("Gujarati"), "gu", "Ankit Patel", "ankit_patel@users.sf.net"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
189 {NULL, NULL, N_("Gujarati Language Team"), "indianoss-gujarati@lists.sourceforge.net"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
190 {N_("Hebrew"), "he", "Shalom Craimer", "scraimer@gmail.com"}, |
31408
826b595c4259
Sangeeta Kumari & Rajesh Ranjan translate Hindi & Maithili
Richard Laager <rlaager@wiktel.com>
parents:
31303
diff
changeset
|
191 {N_("Hindi"), "hi", "Sangeeta Kumari", "sangeeta_0975@yahoo.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
192 {NULL, NULL, "Rajesh Ranjan", "rajeshkajha@yahoo.com"}, |
31602
7d75ffbde679
Added Croatian translation from Sabina Drempeti««. Closes #13595
Paul Aurich <paul@darkrain42.org>
parents:
31468
diff
changeset
|
193 {N_("Croatian"), "hr", "Sabina Drempetić", "bina91991@googlemail.com"}, |
19735
f598c0d9f7dd
Update the Hungarian translator in the about dialog. Fixes #3030.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19692
diff
changeset
|
194 {N_("Hungarian"), "hu", "Kelemen Gábor", "kelemeng@gnome.hu"}, |
26956
23aa82543503
Added Armenian translation. Closes #9208.
avsharyan@gmail.com
parents:
26955
diff
changeset
|
195 {N_("Armenian"), "hy", "David Avsharyan", "avsharyan@gmail.com"}, |
15796
52a044731fbe
lots of translation updates. Some of these I neglected for way too long.
Luke Schierer <lschiere@pidgin.im>
parents:
15614
diff
changeset
|
196 {N_("Indonesian"), "id", "Rai S. Regawa", "raireg@yahoo.com"}, |
31430
df4f9ffb699f
Claudio asked that his e-mail address be updated. We missed this for 2.7.11.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31423
diff
changeset
|
197 {N_("Italian"), "it", "Claudio Satriano", "satriano@gmail.com"}, |
31643
4ce7a099fcf6
Updated Japanese translation! I think the might not have been updated
Mark Doliner <mark@kingant.net>
parents:
31605
diff
changeset
|
198 {N_("Japanese"), "ja", "Takayuki Kusano", "AE5T-KSN@asahi-net.or.jp"}, |
17132
22dd4a177d2f
mark all translation teams as translatable. fixes #528
Luke Schierer <lschiere@pidgin.im>
parents:
16965
diff
changeset
|
199 {N_("Georgian"), "ka", N_("Ubuntu Georgian Translators"), "alexander.didebulidze@stusta.mhn.de"}, |
26182
246e66ca3a4d
Mark "Khmer" as translatable since we're not in string freeze
Paul Aurich <paul@darkrain42.org>
parents:
26174
diff
changeset
|
200 {N_("Khmer"), "km", "Khoem Sokhem", "khoemsokhem@khmeros.info"}, |
17132
22dd4a177d2f
mark all translation teams as translatable. fixes #528
Luke Schierer <lschiere@pidgin.im>
parents:
16965
diff
changeset
|
201 {N_("Kannada"), "kn", N_("Kannada Translation team"), "translation@sampada.info"}, |
18335
efed8e3d5c61
Credit the current Korean translator
Stu Tomlinson <stu@nosnilmot.com>
parents:
18113
diff
changeset
|
202 {N_("Korean"), "ko", "Sushizang", "sushizang@empal.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
203 {N_("Kurdish"), "ku", "Erdal Ronahi", "erdal.ronahi@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
204 {NULL, NULL, "Amed Ç. Jiyan", "amedcj@hotmail.com"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
205 {NULL, NULL, "Rizoyê Xerzî", "rizoxerzi@hotmail.com"}, |
20268
a14208697dcd
Plucked translation changes:
Richard Laager <rlaager@wiktel.com>
parents:
20251
diff
changeset
|
206 {N_("Lao"), "lo", "Anousak Souphavah", "anousak@gmail.com"}, |
30628
d0473803df66
Mark this string as translatable now that we're out of freeze.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30606
diff
changeset
|
207 {N_("Maithili"), "mai", "Sangeeta Kumari", "sangeeta_0975@yahoo.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
208 {NULL, NULL, "Rajesh Ranjan", "rajeshkajha@yahoo.com"}, |
31121
98b37f61379c
I think we can translate this now.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31050
diff
changeset
|
209 {N_("Meadow Mari"), "mhr", "David Preece", "davidpreece1@gmail.com"}, |
17219 | 210 {N_("Macedonian"), "mk", "Arangel Angov ", "arangel@linux.net.mk"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
211 {NULL, NULL, "Ivana Kirkovska", "ivana.kirkovska@gmail.com"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
212 {NULL, NULL, "Jovan Naumovski", "jovan@lugola.net"}, |
29895 | 213 {N_("Malayalam"), "ml", "Ani Peter", "apeter@redhat.com"}, |
25415
e3183dab880a
Mark the string "Mongolian" as translatable
Mark Doliner <mark@kingant.net>
parents:
25304
diff
changeset
|
214 {N_("Mongolian"), "mn", "gooyo", NULL}, |
28886
e6be7b8affd5
Add Marathi translation from Sandeep Shedmake. Closes #11080.
Paul Aurich <paul@darkrain42.org>
parents:
28807
diff
changeset
|
215 {N_("Marathi"), "mr", "Sandeep Shedmake", "sandeep.shedmake@gmail.com"}, |
28636
f5e31099a351
Added Malay translation from Muhammad Najmi bin Ahmad Zabidi. Closes #10578.
Paul Aurich <paul@darkrain42.org>
parents:
28635
diff
changeset
|
216 {N_("Malay"), "ms_MY", "Muhammad Najmi bin Ahmad Zabidi", "najmi.zabidi@gmail.com"}, |
25269
6c269e0d99ae
Updated Norwegian Bokmal translation from Hans Fredrik Nordhaug. Fixes #8035.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
24892
diff
changeset
|
217 {N_("Bokmål Norwegian"), "nb", "Hans Fredrik Nordhaug", "hans@nordhaug.priv.no"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
218 {N_("Nepali"), "ne", "Shyam Krishna Bal", "shyamkrishna_bal@yahoo.com"}, |
30295
a551fb648e09
Updated Dutch translation from new maintainer Gideon van Melle. Fixes #12314.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30292
diff
changeset
|
219 {N_("Dutch, Flemish"), "nl", "Gideon van Melle", "translations@gvmelle.com"}, |
30297
ea3c2bbcf1a6
Updated Norwegian Nynorsk translation and translator's e-mail address. Fixes #12348
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30295
diff
changeset
|
220 {N_("Norwegian Nynorsk"), "nn", "Yngve Spjeld Landro", "l10n@landro.net"}, |
22995 | 221 {N_("Occitan"), "oc", "Yannig Marchegay", "yannig@marchegay.org"}, |
28989
1b040b79da38
Updated translations. Closes #11280, #11266, #11254.
Paul Aurich <paul@darkrain42.org>
parents:
28886
diff
changeset
|
222 {N_("Oriya"), "or", "Manoj Kumar Giri", "giri.manojkr@gmail.com"}, |
21475 | 223 {N_("Punjabi"), "pa", "Amanpreet Singh Alam", "aalam@users.sf.net"}, |
29023
ff3a5a1b585e
Updated Marathi, Polish, and Ukranian translations. Closes #11328, #11329, #11332.
Paul Aurich <paul@darkrain42.org>
parents:
28997
diff
changeset
|
224 {N_("Polish"), "pl", "Piotr DrÄ…g", "piotrdrag@gmail.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
225 {N_("Portuguese"), "pt", "Duarte Henriques", "duarte_henriques@myrealbox.com"}, |
22941
da78bd517831
New Brazilian Portuguese translation (and a new translator!)
Mark Doliner <mark@kingant.net>
parents:
22895
diff
changeset
|
226 {N_("Portuguese-Brazil"), "pt_BR", "Rodrigo Luiz Marques Flores", "rodrigomarquesflores@gmail.com"}, |
15796
52a044731fbe
lots of translation updates. Some of these I neglected for way too long.
Luke Schierer <lschiere@pidgin.im>
parents:
15614
diff
changeset
|
227 {N_("Pashto"), "ps", "Kashif Masood", "masudmails@yahoo.com"}, |
29895 | 228 {N_("Romanian"), "ro", "Mișu Moldovan", "dumol@gnome.org"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
229 {NULL, NULL, "Andrei Popescu", "andreimpopescu@gmail.com"}, |
25304
81e06eb8cb31
Russian translation updated by new translator §¡§ß§ä§à§ß §³§Ñ§Þ§à§ç§Ó§Ñ§Ý§à§Ó. Fixes #7946.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25302
diff
changeset
|
230 {N_("Russian"), "ru", "Ðнтон Самохвалов", "samant.ua@mail.ru"}, |
15955
ab7791faefa1
translation updates. I would see if they compile, but I can't compile at all right now.
Luke Schierer <lschiere@pidgin.im>
parents:
15884
diff
changeset
|
231 {N_("Slovak"), "sk", "Jozef KáÄer", "quickparser@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
232 {NULL, NULL, "loptosko", "loptosko@gmail.com"}, |
16020
c44ccec855bb
Remove some extraneous spaces from an e-mail address. If we're going to be linkifying these in the UI, they should work.
Richard Laager <rlaager@wiktel.com>
parents:
16010
diff
changeset
|
233 {N_("Slovenian"), "sl", "Martin Srebotnjak", "miles@filmsi.net"}, |
15955
ab7791faefa1
translation updates. I would see if they compile, but I can't compile at all right now.
Luke Schierer <lschiere@pidgin.im>
parents:
15884
diff
changeset
|
234 {N_("Albanian"), "sq", "Besnik Bleta", "besnik@programeshqip.org"}, |
20241
76960ecdc159
applied changes from 4788a5d2117e007ef1d389bdd939afdd70da53ca
Richard Laager <rlaager@wiktel.com>
parents:
20213
diff
changeset
|
235 {N_("Serbian"), "sr", "Miloš Popović", "gpopac@gmail.com"}, |
32544
130f0c87a85d
This locale code appears to have changed. Also, differentiate the names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32543
diff
changeset
|
236 {N_("Serbian Latin"), "sr@latin", "Miloš Popović", "gpopac@gmail.com"}, |
22389 | 237 {N_("Sinhala"), "si", "Danishka Navin", "snavin@redhat.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
238 {NULL, NULL, "Yajith Ajantha Dayarathna", "yajith@gmail.com"}, |
19286
bb460965c49c
15 translation updates. Our translators rock!
Mark Doliner <mark@kingant.net>
parents:
19284
diff
changeset
|
239 {N_("Swedish"), "sv", "Peter Hjalmarsson", "xake@telia.com"}, |
26955
cf1908913094
Further research leads me to believe this should be 'sw.po'. Correct me if I'm wrong. References #9057.
Paul Aurich <paul@darkrain42.org>
parents:
26954
diff
changeset
|
240 {N_("Swahili"), "sw", "Paul Msegeya", "msegeya@gmail.com"}, |
28997
b62d06a0e8ef
Updated Tamil translation. Closes #11085.
Paul Aurich <paul@darkrain42.org>
parents:
28989
diff
changeset
|
241 {N_("Tamil"), "ta", "I. Felix", "ifelix25@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
242 {NULL, NULL, "Viveka Nathan K", "vivekanathan@users.sourceforge.net"}, |
29693
c59a781958ff
Updated Telugu under new translator. Closes #11588
Paul Aurich <paul@darkrain42.org>
parents:
29655
diff
changeset
|
243 {N_("Telugu"), "te", "Krishnababu Krottapalli", "krottapalli@ymail.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
244 {N_("Thai"), "th", "Isriya Paireepairit", "markpeak@gmail.com"}, |
17185
b1db61e778d6
new turkish translator
Serdar Soytetir <tulliana@gmail.com>
parents:
17132
diff
changeset
|
245 {N_("Turkish"), "tr", "Serdar Soytetir", "tulliana@gmail.com"}, |
28635
9d1f52871841
Updated Ukranian translation. Closes #10239.
Paul Aurich <paul@darkrain42.org>
parents:
28325
diff
changeset
|
246 {N_("Ukranian"), "uk", "Oleksandr Kovalenko", "alx.kovalenko@gmail.com"}, |
21505 | 247 {N_("Urdu"), "ur", "RKVS Raman", "rkvsraman@gmail.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
248 {N_("Vietnamese"), "vi", N_("T.M.Thanh and the Gnome-Vi Team"), "gnomevi-list@lists.sf.net"}, |
28162
f3f057b06840
Updated Simplified Chinese translation and email update. Closes #10165.
Paul Aurich <paul@darkrain42.org>
parents:
28110
diff
changeset
|
249 {N_("Simplified Chinese"), "zh_CN", "Aron Xu", "happyaron.xu@gmail.com"}, |
17243 | 250 {N_("Hong Kong Chinese"), "zh_HK", "Abel Cheung", "abelindsay@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
251 {NULL, NULL, "Ambrose C. Li", "acli@ada.dhs.org"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
252 {NULL, NULL, "Paladin R. Liu", "paladin@ms1.hinet.net"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
253 {N_("Traditional Chinese"), "zh_TW", "Ambrose C. Li", "acli@ada.dhs.org"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
254 {NULL, NULL, "Paladin R. Liu", "paladin@ms1.hinet.net"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
255 {NULL, NULL, NULL, NULL} |
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 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
258 |
21015
787b3897ba9f
Patch from Andrew Gaul to constify a bunch of static variables to reduce
Ka-Hing Cheung <khc@hxbc.us>
parents:
20365
diff
changeset
|
259 static const struct translator past_translators[] = { |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
260 {N_("Amharic"), "am", "Daniel Yacob", NULL}, |
20268
a14208697dcd
Plucked translation changes:
Richard Laager <rlaager@wiktel.com>
parents:
20251
diff
changeset
|
261 {N_("Arabic"), "ar", "Mohamed Magdy", "alnokta@yahoo.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
262 {N_("Bulgarian"), "bg", "Hristo Todorov", NULL}, |
27676
1736bc22cc06
Updated Bengali translation and retire two translators. Closes #9738.
Paul Aurich <paul@darkrain42.org>
parents:
27557
diff
changeset
|
263 {N_("Bengali"), "bn", "INDRANIL DAS GUPTA", "indradg@l2c2.org"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
264 {NULL, NULL, "Tisa Nafisa", "tisa_nafisa@yahoo.com"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
265 {N_("Catalan"), "ca", "JM Pérez Cáncer", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
266 {NULL, NULL, "Robert Millan", NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
267 {N_("Czech"), "cs", "Honza Král", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
268 {NULL, NULL, "Miloslav Trmac", "mitr@volny.cz"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
269 {N_("German"), "de", "Daniel Seifert", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
270 {NULL, NULL, "Karsten Weiss", NULL}, |
30970
0fa095abebd4
Luke Ross has retired from translating.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30639
diff
changeset
|
271 {N_("British English"), "en_GB", "Luke Ross", "luke@lukeross.name"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
272 {N_("Spanish"), "es", "JM Pérez Cáncer", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
273 {NULL, NULL, "Nicolás Lichtmaier", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
274 {NULL, NULL, "Amaya Rodrigo", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
275 {NULL, NULL, "Alejandro G Villar", NULL}, |
27983
ee7fc9aec326
Rename Euskera(Basque) (sic.) to Basque per translator. Closes #9838.
Paul Aurich <paul@darkrain42.org>
parents:
27804
diff
changeset
|
276 {N_("Basque"), "eu", "Iñaki Larrañaga Murgoitio", "dooteo@zundan.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
277 {NULL, NULL, "Hizkuntza Politikarako Sailburuordetza", "hizkpol@ej-gv.es"}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
278 {N_("Finnish"), "fi", "Arto Alakulju", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
279 {NULL, NULL, "Tero Kuusela", NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
280 {N_("French"), "fr", "Sébastien François", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
281 {NULL, NULL, "Stéphane Pontier", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
282 {NULL, NULL, "Stéphane Wirtel", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
283 {NULL, NULL, "Loïc Jeannin", NULL}, |
19288
0114c721efd0
Update the Galician translators
Mark Doliner <mark@kingant.net>
parents:
19286
diff
changeset
|
284 {N_("Galician"), "gl", "Ignacio Casal Quinteiro", NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
285 {N_("Hebrew"), "he", "Pavel Bibergal", NULL}, |
29652
7eb8c738634a
Updated Hindi translation from Rajesh Ranjan, who I'm setting as the
Mark Doliner <mark@kingant.net>
parents:
29583
diff
changeset
|
286 {N_("Hindi"), "hi", "Ravishankar Shrivastava", NULL}, |
19735
f598c0d9f7dd
Update the Hungarian translator in the about dialog. Fixes #3030.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19692
diff
changeset
|
287 {N_("Hungarian"), "hu", "Zoltan Sutto", NULL}, |
f598c0d9f7dd
Update the Hungarian translator in the about dialog. Fixes #3030.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19692
diff
changeset
|
288 {N_("Italian"), "it", "Salvatore di Maggio", NULL}, |
31643
4ce7a099fcf6
Updated Japanese translation! I think the might not have been updated
Mark Doliner <mark@kingant.net>
parents:
31605
diff
changeset
|
289 {N_("Japanese"), "ja", "Takashi Aihana", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
290 {NULL, NULL, "Ryosuke Kutsuna", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
291 {NULL, NULL, "Taku Yasui", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
292 {NULL, NULL, "Junichi Uekawa", NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
293 {N_("Georgian"), "ka", "Temuri Doghonadze", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
294 {N_("Korean"), "ko", "Sang-hyun S", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
295 {NULL, NULL, "A Ho-seok Lee", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
296 {NULL, NULL, "Kyeong-uk Son", NULL}, |
28807
afebd4e2fc1a
Retire the Lithuanian translator per email request.
Paul Aurich <paul@darkrain42.org>
parents:
28636
diff
changeset
|
297 {N_("Lithuanian"), "lt", "Laurynas Biveinis", "laurynas.biveinis@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
298 {NULL, NULL, "Gediminas ÄŒiÄinskas", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
299 {NULL, NULL, "Andrius Å tikonas", NULL}, |
19286
bb460965c49c
15 translation updates. Our translators rock!
Mark Doliner <mark@kingant.net>
parents:
19284
diff
changeset
|
300 {N_("Macedonian"), "mk", "Tomislav Markovski", NULL}, |
20268
a14208697dcd
Plucked translation changes:
Richard Laager <rlaager@wiktel.com>
parents:
20251
diff
changeset
|
301 {N_("Bokmål Norwegian"), "nb", "Hallvard Glad", "hallvard.glad@gmail.com"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
302 {NULL, NULL, "Petter Johan Olsen", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
303 {NULL, NULL, "Espen Stefansen", "espenas@gmail.com"}, |
30295
a551fb648e09
Updated Dutch translation from new maintainer Gideon van Melle. Fixes #12314.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30292
diff
changeset
|
304 {N_("Dutch, Flemish"), "nl", "Vincent van Adrighem", "V.vanAdrighem@dirck.mine.nu"}, |
25302
8074c057e54d
New Polish translation by Piotr Makowski. Fixes #7944. Also updates the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25269
diff
changeset
|
305 {N_("Polish"), "pl", "Emil Nowak", "emil5@go2.pl"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
306 {NULL, NULL, "Paweł Godlewski", "pawel@bajk.pl"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
307 {NULL, NULL, "Krzysztof Foltman", "krzysztof@foltman.com"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
308 {NULL, NULL, "Piotr Makowski", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
309 {NULL, NULL, "Przemysław Sułek", NULL}, |
22941
da78bd517831
New Brazilian Portuguese translation (and a new translator!)
Mark Doliner <mark@kingant.net>
parents:
22895
diff
changeset
|
310 {N_("Portuguese-Brazil"), "pt_BR", "MaurÃcio de Lemos Rodrigues Collares Neto", "mauricioc@gmail.com"}, |
25304
81e06eb8cb31
Russian translation updated by new translator §¡§ß§ä§à§ß §³§Ñ§Þ§à§ç§Ó§Ñ§Ý§à§Ó. Fixes #7946.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25302
diff
changeset
|
311 {N_("Russian"), "ru", "Dmitry Beloglazov", "dmaa@users.sf.net"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
312 {NULL, NULL, "Alexandre Prokoudine", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
313 {NULL, NULL, "Sergey Volozhanin", NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
314 {N_("Slovak"), "sk", "Daniel Režný", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
315 {NULL, NULL, "helix84", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
316 {NULL, NULL, "Richard Golier", NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
317 {N_("Slovenian"), "sl", "Matjaz Horvat", NULL}, |
20241
76960ecdc159
applied changes from 4788a5d2117e007ef1d389bdd939afdd70da53ca
Richard Laager <rlaager@wiktel.com>
parents:
20213
diff
changeset
|
318 {N_("Serbian"), "sr", "Danilo Å egan", "dsegan@gmx.net"}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
319 {NULL, NULL, "Aleksandar Urosevic", "urke@users.sourceforge.net"}, |
19286
bb460965c49c
15 translation updates. Our translators rock!
Mark Doliner <mark@kingant.net>
parents:
19284
diff
changeset
|
320 {N_("Swedish"), "sv", "Tore Lundqvist", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
321 {NULL, NULL, "Christian Rose", NULL}, |
29693
c59a781958ff
Updated Telugu under new translator. Closes #11588
Paul Aurich <paul@darkrain42.org>
parents:
29655
diff
changeset
|
322 {N_("Telugu"), "te", "Mr. Subbaramaih", "info.gist@cdac.in"}, |
19286
bb460965c49c
15 translation updates. Our translators rock!
Mark Doliner <mark@kingant.net>
parents:
19284
diff
changeset
|
323 {N_("Turkish"), "tr", "Ahmet Alp BALKAN", NULL}, |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
324 {N_("Simplified Chinese"), "zh_CN", "Hashao", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
325 {NULL, NULL, "Rocky S. Lee", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
326 {NULL, NULL, "Funda Wang", "fundawang@linux.net.cn"}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
327 {N_("Traditional Chinese"), "zh_TW", "Hashao", NULL}, |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
328 {NULL, NULL, "Rocky S. Lee", NULL}, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
329 {NULL, NULL, NULL, NULL} |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
330 }; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
331 |
24306
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
332 static void |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
333 add_developers(GString *str, const struct developer *list) |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
334 { |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
335 for (; list->name != NULL; list++) { |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
336 if (list->email != NULL) { |
32548
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
337 g_string_append_printf(str, |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
338 "<li><a href=\"mailto:%s\" title=\"%s\">%s</a>%s%s%s</li>", |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
339 list->email, list->email, _(list->name), |
24306
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
340 list->role ? " (" : "", |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
341 list->role ? _(list->role) : "", |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
342 list->role ? ")" : ""); |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
343 } else { |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
344 g_string_append_printf(str, "<li>%s%s%s%s</li>", |
24306
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
345 _(list->name), |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
346 list->role ? " (" : "", |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
347 list->role ? _(list->role) : "", |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
348 list->role ? ")" : ""); |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
349 } |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
350 } |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
351 } |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
352 |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
353 static void |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
354 add_translators(GString *str, const struct translator *list) |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
355 { |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
356 for (; list->name != NULL; list++) { |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
357 if (list->language && list->abbr) { |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
358 g_string_append_printf(str, "<dt>%s (%s)</dt>", |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
359 _(list->language), list->abbr); |
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
360 } |
24306
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
361 if (list->email != NULL) { |
32548
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
362 g_string_append_printf(str, |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
363 "<dd><a href=\"mailto:%s\" title=\"%s\">%s</a></dd>", |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
364 list->email, list->email, |
24306
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
365 _(list->name)); |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
366 } else { |
32545
efb369d5ff29
Show multiple translators under the same language entry.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32544
diff
changeset
|
367 g_string_append_printf(str, "<dd>%s</dd>", _(list->name)); |
24306
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
368 } |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
369 } |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
370 } |
30b833565a73
Remove duplicated code for building the lists.
Richard Laager <rlaager@wiktel.com>
parents:
24305
diff
changeset
|
371 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
372 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
373 pidgin_dialogs_destroy_all() |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
374 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
375 while (dialogwindows) { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
376 gtk_widget_destroy(dialogwindows->data); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
377 dialogwindows = g_list_remove(dialogwindows, dialogwindows->data); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
378 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
379 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
380 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
381 static void destroy_win(GtkWidget *button, GtkWidget *win) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
382 { |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
383 gtk_widget_destroy(win); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
384 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
385 |
20213
5051b94ad258
applied changes from 6e915e14a78ccafa5e0ddfdcabccc2e174c734e3
Richard Laager <rlaager@wiktel.com>
parents:
20031
diff
changeset
|
386 #if 0 |
25924
584063555949
Remove trailing whitespace
Mark Doliner <mark@kingant.net>
parents:
25905
diff
changeset
|
387 /* This function puts the version number onto the pixmap we use in the 'about' |
16420
12e1f8a61d47
another s/Purple/Pidgin/ - how many years until we've found all of these?
Stu Tomlinson <stu@nosnilmot.com>
parents:
16413
diff
changeset
|
388 * screen in Pidgin. */ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
389 static void |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15436
diff
changeset
|
390 pidgin_logo_versionize(GdkPixbuf **original, GtkWidget *widget) { |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
391 GdkPixmap *pixmap; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
392 GtkStyle *style; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
393 PangoContext *context; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
394 PangoLayout *layout; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
395 gchar *markup; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
396 gint width, height; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
397 gint lwidth = 0, lheight = 0; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
398 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
399 style = gtk_widget_get_style(widget); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
400 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
401 gdk_pixbuf_render_pixmap_and_mask(*original, &pixmap, NULL, 255); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
402 width = gdk_pixbuf_get_width(*original); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
403 height = gdk_pixbuf_get_height(*original); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
404 g_object_unref(G_OBJECT(*original)); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
405 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
406 context = gtk_widget_get_pango_context(widget); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
407 layout = pango_layout_new(context); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
408 |
21030
3cc856ca2338
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <stu@nosnilmot.com>
parents:
21015
diff
changeset
|
409 markup = g_strdup_printf("<span foreground=\"#000000\">%s</span>", DISPLAY_VERSION); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
410 pango_layout_set_font_description(layout, style->font_desc); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
411 pango_layout_set_markup(layout, markup, strlen(markup)); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
412 g_free(markup); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
413 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
414 pango_layout_get_pixel_size(layout, &lwidth, &lheight); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
415 gdk_draw_layout(GDK_DRAWABLE(pixmap), style->bg_gc[GTK_STATE_NORMAL], |
19692
a5a9dbd1bdeb
Add a new 2.2.0 about image from hbons and move the version number up and out of the way.
Kevin Stange <kevin@simguy.net>
parents:
19686
diff
changeset
|
416 width - (lwidth + 3), 1, layout); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
417 g_object_unref(G_OBJECT(layout)); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
418 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
419 *original = gdk_pixbuf_get_from_drawable(NULL, pixmap, NULL, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
420 0, 0, 0, 0, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
421 width, height); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
422 g_object_unref(G_OBJECT(pixmap)); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
423 } |
20213
5051b94ad258
applied changes from 6e915e14a78ccafa5e0ddfdcabccc2e174c734e3
Richard Laager <rlaager@wiktel.com>
parents:
20031
diff
changeset
|
424 #endif |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
425 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
426 /* Note: Frees 'string' */ |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
427 static GtkWidget * |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
428 pidgin_build_help_dialog(const char *title, const char *role, GString *string) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
429 { |
32142
bd8b8224ad73
Use pidgin_create_webview to make the Help dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32127
diff
changeset
|
430 GtkWidget *win, *vbox, *frame, *logo, *webview, *button; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
431 GdkPixbuf *pixbuf; |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
432 AtkObject *obj; |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
433 char *filename, *tmp; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
434 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
435 win = pidgin_create_dialog(title, PIDGIN_HIG_BORDER, role, TRUE); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
436 vbox = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(win), FALSE, PIDGIN_HIG_BORDER); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
437 gtk_window_set_default_size(GTK_WINDOW(win), 450, 450); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
438 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
439 /* Generate a logo with a version number */ |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15873
diff
changeset
|
440 filename = g_build_filename(DATADIR, "pixmaps", "pidgin", "logo.png", NULL); |
31682
e2c6e4fc3c84
Start looking at the GError parameter every time we call these functions:
Mark Doliner <mark@kingant.net>
parents:
31643
diff
changeset
|
441 pixbuf = pidgin_pixbuf_new_from_file(filename); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
442 g_free(filename); |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
443 |
20031
cd2b19529dff
whoops! do if 0, not ifdef 0
Sean Egan <seanegan@gmail.com>
parents:
20027
diff
changeset
|
444 #if 0 /* Don't versionize the logo when the logo has the version in it */ |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15436
diff
changeset
|
445 pidgin_logo_versionize(&pixbuf, logo); |
20027 | 446 #endif |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
447 |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
448 /* Insert the logo */ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
449 logo = gtk_image_new_from_pixbuf(pixbuf); |
30292
9e42b9ea8fd3
Don't assert if logo is missing. This shouldn't really affect people
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29895
diff
changeset
|
450 if (pixbuf) |
9e42b9ea8fd3
Don't assert if logo is missing. This shouldn't really affect people
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29895
diff
changeset
|
451 g_object_unref(G_OBJECT(pixbuf)); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
452 obj = gtk_widget_get_accessible(logo); |
21030
3cc856ca2338
Add a --with-extraversion option to ./configure so packagers can fine tune
Stu Tomlinson <stu@nosnilmot.com>
parents:
21015
diff
changeset
|
453 tmp = g_strconcat(PIDGIN_NAME, " " DISPLAY_VERSION, NULL); |
16921
b668951121d8
Change the PIDGIN_NAME stuff to allow translators to transliterate the
Richard Laager <rlaager@wiktel.com>
parents:
16904
diff
changeset
|
454 atk_object_set_description(obj, tmp); |
b668951121d8
Change the PIDGIN_NAME stuff to allow translators to transliterate the
Richard Laager <rlaager@wiktel.com>
parents:
16904
diff
changeset
|
455 g_free(tmp); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
456 gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
457 |
32142
bd8b8224ad73
Use pidgin_create_webview to make the Help dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32127
diff
changeset
|
458 frame = pidgin_create_webview(FALSE, &webview, NULL, NULL); |
32199
68fe7b5211a7
Mark webkit-related missing functionality with "TODO WEBKIT" instead of
Mark Doliner <mark@kingant.net>
parents:
32167
diff
changeset
|
459 /* TODO WEBKIT: Compile now and fix it later when we have a proper replacement for this function |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
460 gtk_imhtml_set_format_functions(GTK_IMHTML(imhtml), GTK_IMHTML_ALL ^ GTK_IMHTML_SMILEY); |
32124
8f06c0244bd8
COMPILEmtn status./bin/stock/bin/pidgin -d Compile now, fix later.
masca@cpw.pidgin.im
parents:
32123
diff
changeset
|
461 */ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
462 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
463 |
32142
bd8b8224ad73
Use pidgin_create_webview to make the Help dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32127
diff
changeset
|
464 gtk_webview_append_html(GTK_WEBVIEW(webview), string->str); |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
465 |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
466 button = pidgin_dialog_add_button(GTK_DIALOG(win), GTK_STOCK_CLOSE, |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
467 G_CALLBACK(destroy_win), win); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
468 |
32687
d6b0dc1fe13b
Fix calls to GTK_WIDGET_SET_FLAGS, which oddly enough does not seem to
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32685
diff
changeset
|
469 #if GTK_CHECK_VERSION(2,18,0) |
d6b0dc1fe13b
Fix calls to GTK_WIDGET_SET_FLAGS, which oddly enough does not seem to
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32685
diff
changeset
|
470 gtk_widget_set_can_default(button, TRUE); |
d6b0dc1fe13b
Fix calls to GTK_WIDGET_SET_FLAGS, which oddly enough does not seem to
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32685
diff
changeset
|
471 #else |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
472 GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); |
32687
d6b0dc1fe13b
Fix calls to GTK_WIDGET_SET_FLAGS, which oddly enough does not seem to
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32685
diff
changeset
|
473 #endif |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
474 gtk_widget_grab_default(button); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
475 |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
476 gtk_widget_show_all(win); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
477 gtk_window_present(GTK_WINDOW(win)); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
478 |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
479 g_string_free(string, TRUE); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
480 |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
481 return win; |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
482 } |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
483 |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
484 void pidgin_dialogs_about(void) |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
485 { |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
486 GString *str; |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
487 char *tmp; |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
488 static GtkWidget *about = NULL; |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
489 |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
490 if (about != NULL) { |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
491 gtk_window_present(GTK_WINDOW(about)); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
492 return; |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
493 } |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
494 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
495 str = g_string_sized_new(4096); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
496 |
16010
eae8e127e4fb
make things cleaner for translators
Nathan Walp <nwalp@pidgin.im>
parents:
15962
diff
changeset
|
497 g_string_append_printf(str, |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
498 "<h2>%s %s</h2>" |
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
499 "<strong>(libpurple %s)<br/>%s</strong>", |
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
500 PIDGIN_NAME, DISPLAY_VERSION, |
29117
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
501 purple_core_get_version(), REVISION); |
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
502 |
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
503 g_string_append_printf(str, |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
504 _("<p>%s is a messaging client based on libpurple which is capable of " |
29117
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
505 "connecting to multiple messaging services at once. %s is written " |
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
506 "in C using GTK+. %s is released, and may be modified and " |
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
507 "redistributed, under the terms of the GPL version 2 (or later). " |
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
508 "A copy of the GPL is distributed with %s. %s is copyrighted by " |
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
509 "its contributors, a list of whom is also distributed with %s. " |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
510 "There is no warranty for %s.</p>"), PIDGIN_NAME, PIDGIN_NAME, |
29117
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
511 PIDGIN_NAME, PIDGIN_NAME, PIDGIN_NAME, PIDGIN_NAME, PIDGIN_NAME); |
20213
5051b94ad258
applied changes from 6e915e14a78ccafa5e0ddfdcabccc2e174c734e3
Richard Laager <rlaager@wiktel.com>
parents:
20031
diff
changeset
|
512 |
5051b94ad258
applied changes from 6e915e14a78ccafa5e0ddfdcabccc2e174c734e3
Richard Laager <rlaager@wiktel.com>
parents:
20031
diff
changeset
|
513 g_string_append_printf(str, |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
514 _("<h3>Helpful Resources</h3>" |
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
515 "<ul>" |
32548
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
516 "<li><a href=\"%s\" title=\"%s\">Website</a></li>" |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
517 "<li><a href=\"%s\" title=\"%s\">Frequently Asked Questions</a></li>" |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
518 "<li>IRC Channel: #pidgin on irc.freenode.net</li>" |
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
519 "<li>XMPP MUC: devel@conference.pidgin.im</li>" |
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
520 "</ul>"), |
32548
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
521 PURPLE_WEBSITE, PURPLE_WEBSITE, |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
522 "http://developer.pidgin.im/wiki/FAQ", |
29117
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
523 "http://developer.pidgin.im/wiki/FAQ"); |
20213
5051b94ad258
applied changes from 6e915e14a78ccafa5e0ddfdcabccc2e174c734e3
Richard Laager <rlaager@wiktel.com>
parents:
20031
diff
changeset
|
524 |
5051b94ad258
applied changes from 6e915e14a78ccafa5e0ddfdcabccc2e174c734e3
Richard Laager <rlaager@wiktel.com>
parents:
20031
diff
changeset
|
525 g_string_append_printf(str, |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
526 _("<p><strong>Help from other Pidgin users</strong> is available " |
32548
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
527 "by e-mailing <a href=\"mailto:%s\">%s</a>.<br/>" |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
528 "This is a <strong>public</strong> mailing list! " |
32548
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
529 "(<a href=\"%s\" title=\"%s\">archive</a>)<br/>" |
29117
89a523641c64
This change is probably going to be unpopular, but I ask that people give it
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29116
diff
changeset
|
530 "We can't help with third-party protocols or plugins!<br/>" |
32540
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
531 "This list's primary language is <strong>English</strong>. You " |
b0ebc1938c2d
Use better HTML in the About dialog. Since WebKit is rendering this
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32539
diff
changeset
|
532 "are welcome to post in another language, but the responses may " |
32548
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
533 "be less helpful.</p>"), |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
534 "support@pidgin.im", "support@pidgin.im", |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
535 "http://pidgin.im/pipermail/support/", |
03137ceb5d0e
Add a title attribute to links so that they'll show a tooltip.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32547
diff
changeset
|
536 "http://pidgin.im/pipermail/support/"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
537 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
538 tmp = g_strdup_printf(_("About %s"), PIDGIN_NAME); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
539 about = pidgin_build_help_dialog(tmp, "about", str); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
540 g_signal_connect(G_OBJECT(about), "destroy", G_CALLBACK(gtk_widget_destroyed), &about); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
541 g_free(tmp); |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
542 } |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
543 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
544 void pidgin_dialogs_buildinfo(void) |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
545 { |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
546 GString *str; |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
547 char *tmp; |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
548 static GtkWidget *buildinfo = NULL; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
549 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
550 if (buildinfo != NULL) { |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
551 gtk_window_present(GTK_WINDOW(buildinfo)); |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
552 return; |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
553 } |
25924
584063555949
Remove trailing whitespace
Mark Doliner <mark@kingant.net>
parents:
25905
diff
changeset
|
554 |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
555 str = g_string_sized_new(4096); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
556 |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
557 g_string_append_printf(str, |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
558 "<h2>%s %s</h2>" |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
559 "<strong>(libpurple %s)<br/>%s</strong>", |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
560 PIDGIN_NAME, DISPLAY_VERSION, purple_core_get_version(), REVISION); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
561 |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
562 g_string_append_printf(str, "<h3>%s</h3><dl>", _("Build Information")); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
563 |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
564 /* The following is primarily intended for user/developer interaction and |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
565 thus ought not be translated */ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
566 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
567 #ifdef CONFIG_ARGS /* win32 build doesn't use configure */ |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
568 g_string_append(str, "<dt>Arguments to <em>./configure</em>:</dt><dd>" CONFIG_ARGS "</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
569 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
570 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
571 #ifndef _WIN32 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
572 #ifdef DEBUG |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
573 g_string_append(str, "<dt>Print debugging messages:</dt><dd>Yes</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
574 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
575 g_string_append(str, "<dt>Print debugging messages:</dt><dd>No</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
576 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
577 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
578 |
15822 | 579 #ifdef PURPLE_PLUGINS |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
580 g_string_append(str, "<dt>Plugins:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
581 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
582 g_string_append(str, "<dt>Plugins:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
583 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
584 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
585 #ifdef HAVE_SSL |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
586 g_string_append(str, "<dt>SSL:</dt><dd>SSL support is present.</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
587 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
588 g_string_append(str, "<dt>SSL:</dt><dd>SSL support was <strong><em>NOT</em></strong> compiled!</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
589 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
590 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
591 /* This might be useful elsewhere too, but it is particularly useful for |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
592 * debugging stuff known to be GTK+/GLib bugs on Windows */ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
593 #ifdef _WIN32 |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
594 g_string_append_printf(str, "<dt>GTK+ Runtime:</dt><dd>%u.%u.%u</dd>" |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
595 "<dt>GLib Runtime:</dt><dd>%u.%u.%u</dd>", |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
596 gtk_major_version, gtk_minor_version, gtk_micro_version, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
597 glib_major_version, glib_minor_version, glib_micro_version); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
598 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
599 |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
600 g_string_append(str, "</dl><h3>Library Support</h3><dl>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
601 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
602 #ifdef HAVE_CYRUS_SASL |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
603 g_string_append_printf(str, "<dt>Cyrus SASL:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
604 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
605 g_string_append_printf(str, "<dt>Cyrus SASL:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
606 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
607 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
608 #ifndef _WIN32 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
609 #ifdef HAVE_DBUS |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
610 g_string_append_printf(str, "<dt>D-Bus:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
611 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
612 g_string_append_printf(str, "<dt>D-Bus:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
613 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
614 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
615 #ifdef HAVE_EVOLUTION_ADDRESSBOOK |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
616 g_string_append_printf(str, "<dt>Evolution Addressbook:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
617 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
618 g_string_append_printf(str, "<dt>Evolution Addressbook:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
619 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
620 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
621 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
622 #if defined(_WIN32) || defined(USE_INTERNAL_LIBGADU) |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
623 g_string_append(str, "<dt>Gadu-Gadu library (libgadu):</dt><dd>Internal</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
624 #else |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
625 #ifdef HAVE_LIBGADU |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
626 g_string_append(str, "<dt>Gadu-Gadu library (libgadu):</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
627 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
628 g_string_append(str, "<dt>Gadu-Gadu library (libgadu):</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
629 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
630 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
631 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
632 #ifdef USE_GTKSPELL |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
633 g_string_append(str, "<dt>GtkSpell:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
634 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
635 g_string_append(str, "<dt>GtkSpell:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
636 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
637 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
638 #ifdef HAVE_GNUTLS |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
639 g_string_append(str, "<dt>GnuTLS:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
640 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
641 g_string_append(str, "<dt>GnuTLS:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
642 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
643 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
644 #ifndef _WIN32 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
645 #ifdef USE_GSTREAMER |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
646 g_string_append(str, "<dt>GStreamer:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
647 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
648 g_string_append(str, "<dt>GStreamer:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
649 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
650 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
651 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
652 #ifndef _WIN32 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
653 #ifdef ENABLE_MONO |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
654 g_string_append(str, "<dt>Mono:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
655 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
656 g_string_append(str, "<dt>Mono:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
657 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
658 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
659 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
660 #ifndef _WIN32 |
22895
0bd86dae2734
Use pkg-config to detect NetworkManager. Also, fail if it isn't present,
Richard Laager <rlaager@wiktel.com>
parents:
22878
diff
changeset
|
661 #ifdef HAVE_NETWORKMANAGER |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
662 g_string_append(str, "<dt>NetworkManager:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
663 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
664 g_string_append(str, "<dt>NetworkManager:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
665 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
666 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
667 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
668 #ifdef HAVE_NSS |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
669 g_string_append(str, "<dt>Network Security Services (NSS):</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
670 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
671 g_string_append(str, "<dt>Network Security Services (NSS):</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
672 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
673 |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
674 if (purple_plugins_find_with_id("core-perl") != NULL) |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
675 g_string_append(str, "<dt>Perl:</dt><dd>Enabled</dd>"); |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
676 else |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
677 g_string_append(str, "<dt>Perl:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
678 |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
679 if (purple_plugins_find_with_id("core-tcl") != NULL) { |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
680 g_string_append(str, "<dt>Tcl:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
681 #ifdef HAVE_TK |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
682 g_string_append(str, "<dt>Tk:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
683 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
684 g_string_append(str, "<dt>Tk:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
685 #endif |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
686 } else { |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
687 g_string_append(str, "<dt>Tcl:</dt><dd>Disabled</dd>"); |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
688 g_string_append(str, "<dt>Tk:</dt><dd>Disabled</dd>"); |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
689 } |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
690 |
28325
f7d7cf32a715
Note whether IDN support is enabled/disabled in the Help->About dialog.
Paul Aurich <paul@darkrain42.org>
parents:
28319
diff
changeset
|
691 #ifdef USE_IDN |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
692 g_string_append(str, "<dt>UTF-8 DNS (IDN):</dt><dd>Enabled</dd>"); |
28325
f7d7cf32a715
Note whether IDN support is enabled/disabled in the Help->About dialog.
Paul Aurich <paul@darkrain42.org>
parents:
28319
diff
changeset
|
693 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
694 g_string_append(str, "<dt>UTF-8 DNS (IDN):</dt><dd>Disabled</dd>"); |
28325
f7d7cf32a715
Note whether IDN support is enabled/disabled in the Help->About dialog.
Paul Aurich <paul@darkrain42.org>
parents:
28319
diff
changeset
|
695 #endif |
f7d7cf32a715
Note whether IDN support is enabled/disabled in the Help->About dialog.
Paul Aurich <paul@darkrain42.org>
parents:
28319
diff
changeset
|
696 |
23853
8c4bc05513c7
Added whether voice and video support has been enabled in Pidgin's About dialog.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23346
diff
changeset
|
697 #ifdef USE_VV |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
698 g_string_append(str, "<dt>Voice and Video:</dt><dd>Enabled</dd>"); |
23853
8c4bc05513c7
Added whether voice and video support has been enabled in Pidgin's About dialog.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23346
diff
changeset
|
699 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
700 g_string_append(str, "<dt>Voice and Video:</dt><dd>Disabled</dd>"); |
23853
8c4bc05513c7
Added whether voice and video support has been enabled in Pidgin's About dialog.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23346
diff
changeset
|
701 #endif |
8c4bc05513c7
Added whether voice and video support has been enabled in Pidgin's About dialog.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23346
diff
changeset
|
702 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
703 #ifndef _WIN32 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
704 #ifdef USE_SM |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
705 g_string_append(str, "<dt>X Session Management:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
706 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
707 g_string_append(str, "<dt>X Session Management:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
708 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
709 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
710 #ifdef USE_SCREENSAVER |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
711 g_string_append(str, "<dt>XScreenSaver:</dt><dd>Enabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
712 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
713 g_string_append(str, "<dt>XScreenSaver:</dt><dd>Disabled</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
714 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
715 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
716 #ifdef LIBZEPHYR_EXT |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
717 g_string_append(str, "<dt>Zephyr library (libzephyr):</dt><dd>External</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
718 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
719 g_string_append(str, "<dt>Zephyr library (libzephyr):</dt><dd>Internal</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
720 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
721 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
722 #ifdef ZEPHYR_USES_KERBEROS |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
723 g_string_append(str, "<dt>Zephyr uses Kerberos:</dt><dd>Yes</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
724 #else |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
725 g_string_append(str, "<dt>Zephyr uses Kerberos:</dt><dd>No</dd>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
726 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
727 #endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
728 |
32541
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
729 g_string_append(str, "</dl>"); |
eb944c3e4cd7
Update the HTML in the Build Information dialog. I'm not sure whether
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32540
diff
changeset
|
730 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
731 /* End of not to be translated section */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
732 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
733 tmp = g_strdup_printf(_("%s Build Information"), PIDGIN_NAME); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
734 buildinfo = pidgin_build_help_dialog(tmp, "buildinfo", str); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
735 g_signal_connect(G_OBJECT(buildinfo), "destroy", G_CALLBACK(gtk_widget_destroyed), &buildinfo); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
736 g_free(tmp); |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
737 } |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
738 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
739 void pidgin_dialogs_developers(void) |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
740 { |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
741 GString *str; |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
742 char *tmp; |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
743 static GtkWidget *developer_info = NULL; |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
744 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
745 if (developer_info != NULL) { |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
746 gtk_window_present(GTK_WINDOW(developer_info)); |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
747 return; |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
748 } |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
749 |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
750 str = g_string_sized_new(4096); |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
751 |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
752 /* Current Developers */ |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
753 g_string_append_printf(str, "<h3>%s</h3><ul>", |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
754 _("Current Developers")); |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
755 add_developers(str, developers); |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
756 g_string_append(str, "</ul>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
757 |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
758 /* Crazy Patch Writers */ |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
759 g_string_append_printf(str, "<h3>%s</h3><ul>", |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
760 _("Crazy Patch Writers")); |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
761 add_developers(str, patch_writers); |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
762 g_string_append(str, "</ul>"); |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
763 |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
764 /* Retired Developers */ |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
765 g_string_append_printf(str, "<h3>%s</h3><ul>", |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
766 _("Retired Developers")); |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
767 add_developers(str, retired_developers); |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
768 g_string_append(str, "</ul>"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
769 |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
770 /* Retired Crazy Patch Writers */ |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
771 g_string_append_printf(str, "<h3>%s</h3><ul>", |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
772 _("Retired Crazy Patch Writers")); |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
773 add_developers(str, retired_patch_writers); |
32542
b824530a8b7b
Update HTML in the Developer Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32541
diff
changeset
|
774 g_string_append(str, "</ul>"); |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
775 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
776 tmp = g_strdup_printf(_("%s Developer Information"), PIDGIN_NAME); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
777 developer_info = pidgin_build_help_dialog(tmp, "developer_info", str); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
778 g_signal_connect(G_OBJECT(developer_info), "destroy", G_CALLBACK(gtk_widget_destroyed), &developer_info); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
779 g_free(tmp); |
29116
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
780 } |
a6b08260d631
Break the developer information out into its own dialog. I also bolded a few
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
29115
diff
changeset
|
781 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
782 void pidgin_dialogs_translators(void) |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
783 { |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
784 GString *str; |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
785 char *tmp; |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
786 static GtkWidget *translator_info = NULL; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
787 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
788 if (translator_info != NULL) { |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
789 gtk_window_present(GTK_WINDOW(translator_info)); |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
790 return; |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
791 } |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
792 |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
793 str = g_string_sized_new(4096); |
21645
d0ea3a86add5
The smiley dialog is transient for the toolbar's parent window, and the about dialog is transient for the buddylist, when available.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
21562
diff
changeset
|
794 |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
795 /* Current Translators */ |
32543
f233e05b97e6
Update HTML in Translator Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32542
diff
changeset
|
796 g_string_append_printf(str, "<h3>%s</h3><dl>", |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
797 _("Current Translators")); |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
798 add_translators(str, translators); |
32543
f233e05b97e6
Update HTML in Translator Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32542
diff
changeset
|
799 g_string_append(str, "</dl>"); |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
800 |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
801 /* Past Translators */ |
32547
b5f233a14ba2
Remove an extra colon.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32546
diff
changeset
|
802 g_string_append_printf(str, "<h3>%s</h3><dl>", |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
803 _("Past Translators")); |
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
804 add_translators(str, past_translators); |
32543
f233e05b97e6
Update HTML in Translator Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32542
diff
changeset
|
805 g_string_append(str, "</dl>"); |
29113
eae4883944ed
Split the "Debugging Information" and translator info into "Build Information"
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28162
diff
changeset
|
806 |
29121
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
807 tmp = g_strdup_printf(_("%s Translator Information"), PIDGIN_NAME); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
808 translator_info = pidgin_build_help_dialog(tmp, "translator_info", str); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
809 g_signal_connect(G_OBJECT(translator_info), "destroy", G_CALLBACK(gtk_widget_destroyed), &translator_info); |
483f85dde1e7
Reduce some code duplications (71 insertions(+), 217 deletions(-))
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
29120
diff
changeset
|
810 g_free(tmp); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
811 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
812 |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
813 void pidgin_dialogs_plugins_info(void) |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
814 { |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
815 GString *str; |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
816 GList *l = NULL; |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
817 PurplePlugin *plugin = NULL; |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
818 char *title = g_strdup_printf(_("%s Plugin Information"), PIDGIN_NAME); |
31762
eaa0c30d58ca
Bj«Órn Voigt pointed out that my plugin info dialog doesn't show the e-mail
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31730
diff
changeset
|
819 char *pname = NULL, *pauthor = NULL; |
eaa0c30d58ca
Bj«Órn Voigt pointed out that my plugin info dialog doesn't show the e-mail
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31730
diff
changeset
|
820 const char *pver, *pwebsite, *pid; |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
821 gboolean ploaded, punloadable; |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
822 static GtkWidget *plugins_info = NULL; |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
823 |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
824 str = g_string_sized_new(4096); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
825 |
32546
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
826 g_string_append_printf(str, "<h2>%s</h2><dl>", _("Plugin Information")); |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
827 |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
828 for(l = purple_plugins_get_all(); l; l = l->next) { |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
829 plugin = (PurplePlugin *)l->data; |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
830 |
31762
eaa0c30d58ca
Bj«Órn Voigt pointed out that my plugin info dialog doesn't show the e-mail
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31730
diff
changeset
|
831 pname = g_markup_escape_text(purple_plugin_get_name(plugin), -1); |
32538
c525ec501589
Fix a minor GLib assert thing.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32537
diff
changeset
|
832 if ((pauthor = (char *)purple_plugin_get_author(plugin)) != NULL) |
c525ec501589
Fix a minor GLib assert thing.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32537
diff
changeset
|
833 pauthor = g_markup_escape_text(pauthor, -1); |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
834 pver = purple_plugin_get_version(plugin); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
835 pwebsite = purple_plugin_get_homepage(plugin); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
836 pid = purple_plugin_get_id(plugin); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
837 punloadable = purple_plugin_is_unloadable(plugin); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
838 ploaded = purple_plugin_is_loaded(plugin); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
839 |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
840 g_string_append_printf(str, |
32546
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
841 "<dt>%s</dt><dd>" |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
842 "<b>Author:</b> %s<br/>" |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
843 "<b>Version:</b> %s<br/>" |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
844 "<b>Website:</b> %s<br/>" |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
845 "<b>ID String:</b> %s<br/>" |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
846 "<b>Loadable:</b> %s<br/>" |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
847 "<b>Loaded:</b> %s" |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
848 "</dd><br/>", |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
849 pname, pauthor ? pauthor : "(null)", |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
850 pver, pwebsite, pid, |
32546
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
851 punloadable ? "<span style=\"color: #FF0000;\"><b>No</b></span>" : "Yes", |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
852 ploaded ? "Yes" : "No"); |
32537
c6d0ca15925e
Fix a leak in the Plugin Information window. These variables are
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32531
diff
changeset
|
853 |
c6d0ca15925e
Fix a leak in the Plugin Information window. These variables are
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32531
diff
changeset
|
854 g_free(pname); |
c6d0ca15925e
Fix a leak in the Plugin Information window. These variables are
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32531
diff
changeset
|
855 g_free(pauthor); |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
856 } |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
857 |
32546
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
858 g_string_append(str, "</dl>"); |
5558d0751d75
Update the HTML in the Plugin Information dialog.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32545
diff
changeset
|
859 |
31730
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
860 plugins_info = pidgin_build_help_dialog(title, "plugins_info", str); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
861 g_signal_connect(G_OBJECT(plugins_info), "destroy", |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
862 G_CALLBACK(gtk_widget_destroyed), &plugins_info); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
863 g_free(title); |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
864 } |
4bdf4e5e6d67
Add a plugin information dialog that shows information for all plugins, even
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
31682
diff
changeset
|
865 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
866 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
867 pidgin_dialogs_im_cb(gpointer data, PurpleRequestFields *fields) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
868 { |
15822 | 869 PurpleAccount *account; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
870 const char *username; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
871 |
15822 | 872 account = purple_request_fields_get_account(fields, "account"); |
873 username = purple_request_fields_get_string(fields, "screenname"); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
874 |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
875 pidgin_dialogs_im_with_user(account, username); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
876 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
877 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
878 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
879 pidgin_dialogs_im(void) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
880 { |
15822 | 881 PurpleRequestFields *fields; |
882 PurpleRequestFieldGroup *group; | |
883 PurpleRequestField *field; | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
884 |
15822 | 885 fields = purple_request_fields_new(); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
886 |
15822 | 887 group = purple_request_field_group_new(NULL); |
888 purple_request_fields_add_group(fields, group); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
889 |
15822 | 890 field = purple_request_field_string_new("screenname", _("_Name"), NULL, FALSE); |
891 purple_request_field_set_type_hint(field, "screenname"); | |
892 purple_request_field_set_required(field, TRUE); | |
893 purple_request_field_group_add_field(group, field); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
894 |
15822 | 895 field = purple_request_field_account_new("account", _("_Account"), NULL); |
896 purple_request_field_set_type_hint(field, "account"); | |
897 purple_request_field_set_visible(field, | |
898 (purple_connections_get_all() != NULL && | |
899 purple_connections_get_all()->next != NULL)); | |
900 purple_request_field_set_required(field, TRUE); | |
901 purple_request_field_group_add_field(group, field); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
902 |
15822 | 903 purple_request_fields(purple_get_blist(), _("New Instant Message"), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
904 NULL, |
22794
cc8903c59d6b
Change the string "screen name" to "username" everywhere. I think most
Mark Doliner <mark@kingant.net>
parents:
22581
diff
changeset
|
905 _("Please enter the username or alias of the person " |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
906 "you would like to IM."), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
907 fields, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
908 _("OK"), G_CALLBACK(pidgin_dialogs_im_cb), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
909 _("Cancel"), NULL, |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
910 NULL, NULL, NULL, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
911 NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
912 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
913 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
914 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
915 pidgin_dialogs_im_with_user(PurpleAccount *account, const char *username) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
916 { |
15822 | 917 PurpleConversation *conv; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
918 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
919 g_return_if_fail(account != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
920 g_return_if_fail(username != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
921 |
15822 | 922 conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, username, account); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
923 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
924 if (conv == NULL) |
15822 | 925 conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, username); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
926 |
19415
2128daf52d31
Reattach the gtk-ui to a conversation when the user wants to
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
19359
diff
changeset
|
927 pidgin_conv_attach_to_conversation(conv); |
15822 | 928 purple_conversation_present(conv); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
929 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
930 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
931 static gboolean |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
932 pidgin_dialogs_ee(const char *ee) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
933 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
934 GtkWidget *window; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
935 GtkWidget *hbox; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
936 GtkWidget *label; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
937 GtkWidget *img; |
15822 | 938 gchar *norm = purple_strreplace(ee, "rocksmyworld", ""); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
939 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
940 label = gtk_label_new(NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
941 if (!strcmp(norm, "zilding")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
942 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
943 "<span weight=\"bold\" size=\"large\" foreground=\"purple\">Amazing! Simply Amazing!</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
944 else if (!strcmp(norm, "robflynn")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
945 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
946 "<span weight=\"bold\" size=\"large\" foreground=\"#1f6bad\">Pimpin\' Penguin Style! *Waddle Waddle*</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
947 else if (!strcmp(norm, "flynorange")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
948 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
949 "<span weight=\"bold\" size=\"large\" foreground=\"blue\">You should be me. I'm so cute!</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
950 else if (!strcmp(norm, "ewarmenhoven")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
951 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
952 "<span weight=\"bold\" size=\"large\" foreground=\"orange\">Now that's what I like!</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
953 else if (!strcmp(norm, "markster97")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
954 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
955 "<span weight=\"bold\" size=\"large\" foreground=\"brown\">Ahh, and excellent choice!</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
956 else if (!strcmp(norm, "seanegn")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
957 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
958 "<span weight=\"bold\" size=\"large\" foreground=\"#009900\">Everytime you click my name, an angel gets its wings.</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
959 else if (!strcmp(norm, "chipx86")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
960 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
961 "<span weight=\"bold\" size=\"large\" foreground=\"red\">This sunflower seed taste like pizza.</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
962 else if (!strcmp(norm, "markdoliner")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
963 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
964 "<span weight=\"bold\" size=\"large\" foreground=\"#6364B1\">Hey! I was in that tumbleweed!</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
965 else if (!strcmp(norm, "lschiere")) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
966 gtk_label_set_markup(GTK_LABEL(label), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
967 "<span weight=\"bold\" size=\"large\" foreground=\"gray\">I'm not anything.</span>"); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
968 g_free(norm); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
969 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
970 if (strlen(gtk_label_get_label(GTK_LABEL(label))) <= 0) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
971 return FALSE; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
972 |
15820 | 973 window = gtk_dialog_new_with_buttons(PIDGIN_ALERT_TITLE, NULL, 0, GTK_STOCK_CLOSE, GTK_RESPONSE_OK, NULL); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
974 gtk_dialog_set_default_response (GTK_DIALOG(window), GTK_RESPONSE_OK); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
975 g_signal_connect(G_OBJECT(window), "response", G_CALLBACK(gtk_widget_destroy), NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
976 |
15820 | 977 gtk_container_set_border_width (GTK_CONTAINER(window), PIDGIN_HIG_BOX_SPACE); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
978 gtk_window_set_resizable(GTK_WINDOW(window), FALSE); |
32685
457443ca22e0
The function gtk_dialog_set_has_separator was removed in GTK+ 2.22.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32199
diff
changeset
|
979 #if !GTK_CHECK_VERSION(2,22,0) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
980 gtk_dialog_set_has_separator(GTK_DIALOG(window), FALSE); |
32685
457443ca22e0
The function gtk_dialog_set_has_separator was removed in GTK+ 2.22.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32199
diff
changeset
|
981 #endif |
15820 | 982 gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(window)->vbox), PIDGIN_HIG_BORDER); |
983 gtk_container_set_border_width (GTK_CONTAINER(GTK_DIALOG(window)->vbox), PIDGIN_HIG_BOX_SPACE); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
984 |
15820 | 985 hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_BORDER); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
986 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(window)->vbox), hbox); |
15435 | 987 img = gtk_image_new_from_stock(PIDGIN_STOCK_DIALOG_COOL, gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_HUGE)); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
988 gtk_box_pack_start(GTK_BOX(hbox), img, FALSE, FALSE, 0); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
989 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
990 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
991 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
992 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
993 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
994 gtk_widget_show_all(window); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
995 return TRUE; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
996 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
997 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
998 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
999 pidgin_dialogs_info_cb(gpointer data, PurpleRequestFields *fields) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1000 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1001 char *username; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1002 gboolean found = FALSE; |
15822 | 1003 PurpleAccount *account; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1004 |
15822 | 1005 account = purple_request_fields_get_account(fields, "account"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1006 |
15822 | 1007 username = g_strdup(purple_normalize(account, |
1008 purple_request_fields_get_string(fields, "screenname"))); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1009 |
15822 | 1010 if (username != NULL && purple_str_has_suffix(username, "rocksmyworld")) |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1011 found = pidgin_dialogs_ee(username); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1012 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1013 if (!found && username != NULL && *username != '\0' && account != NULL) |
17750
319bcb73eb4e
Use utility functions to get user info. Closes #964.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
17219
diff
changeset
|
1014 pidgin_retrieve_user_info(purple_account_get_connection(account), username); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1015 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1016 g_free(username); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1017 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1018 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1019 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1020 pidgin_dialogs_info(void) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1021 { |
15822 | 1022 PurpleRequestFields *fields; |
1023 PurpleRequestFieldGroup *group; | |
1024 PurpleRequestField *field; | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1025 |
15822 | 1026 fields = purple_request_fields_new(); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1027 |
15822 | 1028 group = purple_request_field_group_new(NULL); |
1029 purple_request_fields_add_group(fields, group); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1030 |
15822 | 1031 field = purple_request_field_string_new("screenname", _("_Name"), NULL, FALSE); |
1032 purple_request_field_set_type_hint(field, "screenname"); | |
1033 purple_request_field_set_required(field, TRUE); | |
1034 purple_request_field_group_add_field(group, field); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1035 |
15822 | 1036 field = purple_request_field_account_new("account", _("_Account"), NULL); |
1037 purple_request_field_set_type_hint(field, "account"); | |
1038 purple_request_field_set_visible(field, | |
1039 (purple_connections_get_all() != NULL && | |
1040 purple_connections_get_all()->next != NULL)); | |
1041 purple_request_field_set_required(field, TRUE); | |
1042 purple_request_field_group_add_field(group, field); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1043 |
15822 | 1044 purple_request_fields(purple_get_blist(), _("Get User Info"), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1045 NULL, |
22794
cc8903c59d6b
Change the string "screen name" to "username" everywhere. I think most
Mark Doliner <mark@kingant.net>
parents:
22581
diff
changeset
|
1046 _("Please enter the username or alias of the person " |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1047 "whose info you would like to view."), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1048 fields, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1049 _("OK"), G_CALLBACK(pidgin_dialogs_info_cb), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1050 _("Cancel"), NULL, |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1051 NULL, NULL, NULL, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1052 NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1053 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1054 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1055 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1056 pidgin_dialogs_log_cb(gpointer data, PurpleRequestFields *fields) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1057 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1058 char *username; |
15822 | 1059 PurpleAccount *account; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1060 GSList *cur; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1061 |
15822 | 1062 account = purple_request_fields_get_account(fields, "account"); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1063 |
15822 | 1064 username = g_strdup(purple_normalize(account, |
1065 purple_request_fields_get_string(fields, "screenname"))); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1066 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1067 if (username != NULL && *username != '\0' && account != NULL) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1068 { |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15436
diff
changeset
|
1069 PidginBuddyList *gtkblist = pidgin_blist_get_default_gtk_blist(); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1070 GSList *buddies; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1071 |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15436
diff
changeset
|
1072 pidgin_set_cursor(gtkblist->window, GDK_WATCH); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1073 |
15822 | 1074 buddies = purple_find_buddies(account, username); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1075 for (cur = buddies; cur != NULL; cur = cur->next) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1076 { |
15822 | 1077 PurpleBlistNode *node = cur->data; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1078 if ((node != NULL) && ((node->prev != NULL) || (node->next != NULL))) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1079 { |
15822 | 1080 pidgin_log_show_contact((PurpleContact *)node->parent); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1081 g_slist_free(buddies); |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15436
diff
changeset
|
1082 pidgin_clear_cursor(gtkblist->window); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1083 g_free(username); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1084 return; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1085 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1086 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1087 g_slist_free(buddies); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1088 |
15822 | 1089 pidgin_log_show(PURPLE_LOG_IM, username, account); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1090 |
15500
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15436
diff
changeset
|
1091 pidgin_clear_cursor(gtkblist->window); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1092 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1093 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1094 g_free(username); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1095 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1096 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1097 /* |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1098 * TODO - This needs to deal with logs of all types, not just IM logs. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1099 */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1100 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1101 pidgin_dialogs_log(void) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1102 { |
15822 | 1103 PurpleRequestFields *fields; |
1104 PurpleRequestFieldGroup *group; | |
1105 PurpleRequestField *field; | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1106 |
15822 | 1107 fields = purple_request_fields_new(); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1108 |
15822 | 1109 group = purple_request_field_group_new(NULL); |
1110 purple_request_fields_add_group(fields, group); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1111 |
15822 | 1112 field = purple_request_field_string_new("screenname", _("_Name"), NULL, FALSE); |
1113 purple_request_field_set_type_hint(field, "screenname-all"); | |
1114 purple_request_field_set_required(field, TRUE); | |
1115 purple_request_field_group_add_field(group, field); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1116 |
15822 | 1117 field = purple_request_field_account_new("account", _("_Account"), NULL); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1118 |
15822 | 1119 /* purple_request_field_account_new() only sets a default value if you're |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1120 * connected, and it sets it from the list of connected accounts. Since |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1121 * we're going to set show_all here, it makes sense to use the first |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1122 * account, not the first connected account. */ |
15822 | 1123 if (purple_accounts_get_all() != NULL) { |
1124 purple_request_field_account_set_default_value(field, purple_accounts_get_all()->data); | |
1125 purple_request_field_account_set_value(field, purple_accounts_get_all()->data); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1126 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1127 |
15822 | 1128 purple_request_field_set_type_hint(field, "account"); |
1129 purple_request_field_account_set_show_all(field, TRUE); | |
1130 purple_request_field_set_visible(field, | |
1131 (purple_accounts_get_all() != NULL && | |
1132 purple_accounts_get_all()->next != NULL)); | |
1133 purple_request_field_set_required(field, TRUE); | |
1134 purple_request_field_group_add_field(group, field); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1135 |
15822 | 1136 purple_request_fields(purple_get_blist(), _("View User Log"), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1137 NULL, |
22794
cc8903c59d6b
Change the string "screen name" to "username" everywhere. I think most
Mark Doliner <mark@kingant.net>
parents:
22581
diff
changeset
|
1138 _("Please enter the username or alias of the person " |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1139 "whose log you would like to view."), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1140 fields, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1141 _("OK"), G_CALLBACK(pidgin_dialogs_log_cb), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1142 _("Cancel"), NULL, |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1143 NULL, NULL, NULL, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1144 NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1145 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1146 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1147 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1148 pidgin_dialogs_alias_buddy_cb(PurpleBuddy *buddy, const char *new_alias) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1149 { |
15822 | 1150 purple_blist_alias_buddy(buddy, new_alias); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1151 serv_alias_buddy(buddy); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1152 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1153 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1154 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1155 pidgin_dialogs_alias_buddy(PurpleBuddy *buddy) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1156 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1157 gchar *secondary; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1158 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1159 g_return_if_fail(buddy != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1160 |
32342
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1161 secondary = g_strdup_printf(_("Enter an alias for %s."), purple_buddy_get_name(buddy)); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1162 |
15822 | 1163 purple_request_input(NULL, _("Alias Buddy"), NULL, |
32342
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1164 secondary, purple_buddy_get_local_buddy_alias(buddy), FALSE, FALSE, NULL, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1165 _("Alias"), G_CALLBACK(pidgin_dialogs_alias_buddy_cb), |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1166 _("Cancel"), NULL, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1167 purple_buddy_get_account(buddy), purple_buddy_get_name(buddy), NULL, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1168 buddy); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1169 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1170 g_free(secondary); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1171 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1172 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1173 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1174 pidgin_dialogs_alias_chat_cb(PurpleChat *chat, const char *new_alias) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1175 { |
15822 | 1176 purple_blist_alias_chat(chat, new_alias); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1177 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1178 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1179 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1180 pidgin_dialogs_alias_chat(PurpleChat *chat) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1181 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1182 g_return_if_fail(chat != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1183 |
15822 | 1184 purple_request_input(NULL, _("Alias Chat"), NULL, |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1185 _("Enter an alias for this chat."), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1186 chat->alias, FALSE, FALSE, NULL, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1187 _("Alias"), G_CALLBACK(pidgin_dialogs_alias_chat_cb), |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1188 _("Cancel"), NULL, |
32347
76096c42f558
Use the PurpleChat accessor functions.
andrew.victor@mxit.com
parents:
32346
diff
changeset
|
1189 purple_chat_get_account(chat), NULL, NULL, |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1190 chat); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1191 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1192 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1193 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1194 pidgin_dialogs_remove_contact_cb(PurpleContact *contact) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1195 { |
15822 | 1196 PurpleBlistNode *bnode, *cnode; |
1197 PurpleGroup *group; | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1198 |
15822 | 1199 cnode = (PurpleBlistNode *)contact; |
1200 group = (PurpleGroup*)cnode->parent; | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1201 for (bnode = cnode->child; bnode; bnode = bnode->next) { |
15822 | 1202 PurpleBuddy *buddy = (PurpleBuddy*)bnode; |
32342
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1203 if (purple_account_is_connected(purple_buddy_get_account(buddy))) |
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1204 purple_account_remove_buddy(purple_buddy_get_account(buddy), buddy, group); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1205 } |
15822 | 1206 purple_blist_remove_contact(contact); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1207 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1208 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1209 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1210 pidgin_dialogs_remove_contact(PurpleContact *contact) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1211 { |
15822 | 1212 PurpleBuddy *buddy = purple_contact_get_priority_buddy(contact); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1213 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1214 g_return_if_fail(contact != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1215 g_return_if_fail(buddy != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1216 |
25829
4d19a03b72e6
Another one the cast fixer breaks.
Richard Laager <rlaager@wiktel.com>
parents:
24350
diff
changeset
|
1217 if (PURPLE_BLIST_NODE(contact)->child == PURPLE_BLIST_NODE(buddy) && |
25830
0cab719ae10e
Make my last commit compile.
Richard Laager <rlaager@wiktel.com>
parents:
25829
diff
changeset
|
1218 PURPLE_BLIST_NODE(buddy)->next == NULL) { |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1219 pidgin_dialogs_remove_buddy(buddy); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1220 } else { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1221 gchar *text; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1222 text = g_strdup_printf( |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1223 ngettext( |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1224 "You are about to remove the contact containing %s " |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1225 "and %d other buddy from your buddy list. Do you " |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1226 "want to continue?", |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1227 "You are about to remove the contact containing %s " |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1228 "and %d other buddies from your buddy list. Do you " |
32348
d288f5215a9a
Add purple_contact_get_contact_size().
andrew.victor@mxit.com
parents:
32347
diff
changeset
|
1229 "want to continue?", purple_contact_get_contact_size(contact, TRUE) - 1), |
d288f5215a9a
Add purple_contact_get_contact_size().
andrew.victor@mxit.com
parents:
32347
diff
changeset
|
1230 purple_buddy_get_name(buddy), purple_contact_get_contact_size(contact, TRUE) - 1); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1231 |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1232 purple_request_action(contact, NULL, _("Remove Contact"), text, 0, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1233 NULL, purple_contact_get_alias(contact), NULL, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1234 contact, 2, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1235 _("_Remove Contact"), G_CALLBACK(pidgin_dialogs_remove_contact_cb), |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1236 _("Cancel"), |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1237 NULL); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1238 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1239 g_free(text); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1240 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1241 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1242 |
15820 | 1243 static void free_ggmo(struct _PidginGroupMergeObject *ggp) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1244 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1245 g_free(ggp->new_name); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1246 g_free(ggp); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1247 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1248 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1249 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1250 pidgin_dialogs_merge_groups_cb(struct _PidginGroupMergeObject *GGP) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1251 { |
15822 | 1252 purple_blist_rename_group(GGP->parent, GGP->new_name); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1253 free_ggmo(GGP); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1254 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1255 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1256 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1257 pidgin_dialogs_merge_groups(PurpleGroup *source, const char *new_name) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1258 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1259 gchar *text; |
15820 | 1260 struct _PidginGroupMergeObject *ggp; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1261 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1262 g_return_if_fail(source != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1263 g_return_if_fail(new_name != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1264 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1265 text = g_strdup_printf( |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1266 _("You are about to merge the group called %s into the group " |
32346
2fdc668362f0
Use the purple_group_get_name() accessor function.
andrew.victor@mxit.com
parents:
32342
diff
changeset
|
1267 "called %s. Do you want to continue?"), purple_group_get_name(source), new_name); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1268 |
15820 | 1269 ggp = g_new(struct _PidginGroupMergeObject, 1); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1270 ggp->parent = source; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1271 ggp->new_name = g_strdup(new_name); |
25924
584063555949
Remove trailing whitespace
Mark Doliner <mark@kingant.net>
parents:
25905
diff
changeset
|
1272 |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1273 purple_request_action(source, NULL, _("Merge Groups"), text, 0, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1274 NULL, NULL, NULL, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1275 ggp, 2, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1276 _("_Merge Groups"), G_CALLBACK(pidgin_dialogs_merge_groups_cb), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1277 _("Cancel"), G_CALLBACK(free_ggmo)); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1278 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1279 g_free(text); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1280 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1281 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1282 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1283 pidgin_dialogs_remove_group_cb(PurpleGroup *group) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1284 { |
15822 | 1285 PurpleBlistNode *cnode, *bnode; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1286 |
15822 | 1287 cnode = ((PurpleBlistNode*)group)->child; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1288 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1289 while (cnode) { |
15822 | 1290 if (PURPLE_BLIST_NODE_IS_CONTACT(cnode)) { |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1291 bnode = cnode->child; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1292 cnode = cnode->next; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1293 while (bnode) { |
15822 | 1294 PurpleBuddy *buddy; |
1295 if (PURPLE_BLIST_NODE_IS_BUDDY(bnode)) { | |
1296 buddy = (PurpleBuddy*)bnode; | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1297 bnode = bnode->next; |
32342
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1298 if (purple_account_is_connected(purple_buddy_get_account(buddy))) { |
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1299 purple_account_remove_buddy(purple_buddy_get_account(buddy), buddy, group); |
15822 | 1300 purple_blist_remove_buddy(buddy); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1301 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1302 } else { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1303 bnode = bnode->next; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1304 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1305 } |
15822 | 1306 } else if (PURPLE_BLIST_NODE_IS_CHAT(cnode)) { |
1307 PurpleChat *chat = (PurpleChat *)cnode; | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1308 cnode = cnode->next; |
32347
76096c42f558
Use the PurpleChat accessor functions.
andrew.victor@mxit.com
parents:
32346
diff
changeset
|
1309 if (purple_account_is_connected(purple_chat_get_account(chat))) |
15822 | 1310 purple_blist_remove_chat(chat); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1311 } else { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1312 cnode = cnode->next; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1313 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1314 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1315 |
15822 | 1316 purple_blist_remove_group(group); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1317 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1318 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1319 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1320 pidgin_dialogs_remove_group(PurpleGroup *group) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1321 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1322 gchar *text; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1323 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1324 g_return_if_fail(group != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1325 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1326 text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), |
32346
2fdc668362f0
Use the purple_group_get_name() accessor function.
andrew.victor@mxit.com
parents:
32342
diff
changeset
|
1327 purple_group_get_name(group)); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1328 |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1329 purple_request_action(group, NULL, _("Remove Group"), text, 0, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1330 NULL, NULL, NULL, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1331 group, 2, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1332 _("_Remove Group"), G_CALLBACK(pidgin_dialogs_remove_group_cb), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1333 _("Cancel"), NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1334 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1335 g_free(text); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1336 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1337 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1338 /* XXX - Some of this should be moved into the core, methinks. */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1339 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1340 pidgin_dialogs_remove_buddy_cb(PurpleBuddy *buddy) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1341 { |
15822 | 1342 PurpleGroup *group; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1343 gchar *name; |
15822 | 1344 PurpleAccount *account; |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1345 |
15822 | 1346 group = purple_buddy_get_group(buddy); |
32342
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1347 name = g_strdup(purple_buddy_get_name(buddy)); /* purple_buddy_get_name() is a crasher after remove_buddy */ |
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1348 account = purple_buddy_get_account(buddy); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1349 |
32342
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1350 purple_debug_info("blist", "Removing '%s' from buddy list.\n", purple_buddy_get_name(buddy)); |
15822 | 1351 /* TODO - Should remove from blist first... then call purple_account_remove_buddy()? */ |
30430
351d07aefb09
Kill off many dead assignments and any useless remaining variables.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30297
diff
changeset
|
1352 purple_account_remove_buddy(account, buddy, group); |
15822 | 1353 purple_blist_remove_buddy(buddy); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1354 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1355 g_free(name); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1356 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1357 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1358 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1359 pidgin_dialogs_remove_buddy(PurpleBuddy *buddy) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1360 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1361 gchar *text; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1362 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1363 g_return_if_fail(buddy != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1364 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1365 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), |
32342
b6276b10cb10
Use the PurpleBuddy accessor functions.
andrew.victor@mxit.com
parents:
32199
diff
changeset
|
1366 purple_buddy_get_name(buddy)); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1367 |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1368 purple_request_action(buddy, NULL, _("Remove Buddy"), text, 0, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1369 purple_buddy_get_account(buddy), purple_buddy_get_name(buddy), NULL, |
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1370 buddy, 2, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1371 _("_Remove Buddy"), G_CALLBACK(pidgin_dialogs_remove_buddy_cb), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1372 _("Cancel"), NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1373 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1374 g_free(text); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1375 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1376 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1377 static void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1378 pidgin_dialogs_remove_chat_cb(PurpleChat *chat) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1379 { |
15822 | 1380 purple_blist_remove_chat(chat); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1381 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1382 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1383 void |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1384 pidgin_dialogs_remove_chat(PurpleChat *chat) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1385 { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1386 const gchar *name; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1387 gchar *text; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1388 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1389 g_return_if_fail(chat != NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1390 |
15822 | 1391 name = purple_chat_get_name(chat); |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1392 text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1393 name ? name : ""); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1394 |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1395 purple_request_action(chat, NULL, _("Remove Chat"), text, 0, |
32347
76096c42f558
Use the PurpleChat accessor functions.
andrew.victor@mxit.com
parents:
32346
diff
changeset
|
1396 purple_chat_get_account(chat), NULL, NULL, |
16439
08db93bbd798
Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
Evan Schoenberg <evan.s@dreskin.net>
parents:
16420
diff
changeset
|
1397 chat, 2, |
16202
0973688f4b74
Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@wiktel.com>
parents:
16193
diff
changeset
|
1398 _("_Remove Chat"), G_CALLBACK(pidgin_dialogs_remove_chat_cb), |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1399 _("Cancel"), NULL); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1400 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1401 g_free(text); |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1402 } |