annotate src/about.c @ 6800:8f228a7d5076

[gaim-migrate @ 7340] Added what I have of MSNSLP in my tree. It's broken, and therefore disabled, but I need to get this out so I can do other stuff too, and have something to revert back to if I break something :) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 10 Sep 2003 00:24:48 +0000
parents eb4bdcc942c0
children 9ffa5b5a8131
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
1 /*
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
2 * gaim
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
3 *
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
4 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
5 *
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
6 * This program is free software; you can redistribute it and/or modify
3424
0a7af6d4d2a0 [gaim-migrate @ 3450]
Sean Egan <seanegan@gmail.com>
parents: 3423
diff changeset
7 * it under the terms of the GNU General Public License as published by
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
9 * (at your option) any later version.
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
10 *
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
11 * This program is distributed in the hope that it will be useful,
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
14 * GNU General Public License for more details.
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
15 *
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
17 * along with this program; if not, write to the Free Software
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
19 *
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
20 */
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
21
5872
059d95c67cda [gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents: 5024
diff changeset
22 #include "internal.h"
059d95c67cda [gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents: 5024
diff changeset
23 #include "gtkimhtml.h"
059d95c67cda [gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents: 5024
diff changeset
24 #include "gtkutils.h"
059d95c67cda [gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents: 5024
diff changeset
25 #include "stock.h"
059d95c67cda [gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents: 5024
diff changeset
26 #include "ui.h"
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
27
5872
059d95c67cda [gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents: 5024
diff changeset
28 /* XXX For WEBSITE */
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
29 #include "gaim.h"
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
30
1250
b5783215b245 [gaim-migrate @ 1260]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1233
diff changeset
31 static GtkWidget *about = NULL;
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
32
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
33 static void destroy_about()
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
34 {
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
35 if (about)
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
36 gtk_widget_destroy(about);
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
37 about = NULL;
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
38 }
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
39
4082
4b04ecb3eb97 [gaim-migrate @ 4297]
Luke Schierer <lschiere@pidgin.im>
parents: 4074
diff changeset
40 void show_about(GtkWidget *w, void *data)
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
41 {
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
42 GtkWidget *vbox;
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
43 GtkWidget *frame;
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
44 GtkWidget *fbox;
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
45 GtkWidget *hbox;
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
46 GtkWidget *button;
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
47 GtkWidget *text;
2950
b5033087c748 [gaim-migrate @ 2963]
Rob Flynn <gaim@robflynn.com>
parents: 2949
diff changeset
48 GtkWidget *sw;
3721
ac084ce0c130 [gaim-migrate @ 3854]
Luke Schierer <lschiere@pidgin.im>
parents: 3709
diff changeset
49 GtkWidget *logo;
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
50 char abouttitle[45];
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
51 char *str;
1250
b5783215b245 [gaim-migrate @ 1260]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1233
diff changeset
52
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
53 if (!about) {
1250
b5783215b245 [gaim-migrate @ 1260]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1233
diff changeset
54
2725
f3c094e78609 [gaim-migrate @ 2738]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2562
diff changeset
55 GAIM_DIALOG(about);
2904
3a9bca5fedcf [gaim-migrate @ 2917]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2902
diff changeset
56 gtk_window_set_default_size(GTK_WINDOW(about), 450, -1);
2535
b44fc148c1c7 [gaim-migrate @ 2548]
Rob Flynn <gaim@robflynn.com>
parents: 2533
diff changeset
57 g_snprintf(abouttitle, sizeof(abouttitle), _("About Gaim v%s"), VERSION);
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
58 gtk_window_set_title(GTK_WINDOW(about), abouttitle);
4074
3ccbdf8e7f8d [gaim-migrate @ 4289]
Sean Egan <seanegan@gmail.com>
parents: 4054
diff changeset
59 gtk_window_set_role(GTK_WINDOW(about), "about");
4635
42d53c416bb9 [gaim-migrate @ 4942]
Nathan Walp <nwalp@pidgin.im>
parents: 4197
diff changeset
60 gtk_window_set_resizable(GTK_WINDOW(about), TRUE);
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
61 gtk_widget_realize(about);
1
2846a03bda67 [gaim-migrate @ 10]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
62
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
63 vbox = gtk_vbox_new(FALSE, 5);
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
64 gtk_container_set_border_width(GTK_CONTAINER(vbox), 5);
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
65 gtk_container_add(GTK_CONTAINER(about), vbox);
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
66
2562
6a9438d32268 [gaim-migrate @ 2575]
Rob Flynn <gaim@robflynn.com>
parents: 2555
diff changeset
67 frame = gtk_frame_new("Gaim v" VERSION);
1250
b5783215b245 [gaim-migrate @ 1260]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1233
diff changeset
68 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0);
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
69
2072
e105da353872 [gaim-migrate @ 2082]
Rob Flynn <gaim@robflynn.com>
parents: 1976
diff changeset
70 fbox = gtk_vbox_new(FALSE, 5);
1250
b5783215b245 [gaim-migrate @ 1260]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1233
diff changeset
71 gtk_container_set_border_width(GTK_CONTAINER(fbox), 5);
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
72 gtk_container_add(GTK_CONTAINER(frame), fbox);
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
73
5024
8e55a4d362a3 [gaim-migrate @ 5361]
Sean Egan <seanegan@gmail.com>
parents: 4992
diff changeset
74 logo = gtk_image_new_from_stock(GAIM_STOCK_LOGO, gtk_icon_size_from_name(GAIM_ICON_SIZE_LOGO));
3721
ac084ce0c130 [gaim-migrate @ 3854]
Luke Schierer <lschiere@pidgin.im>
parents: 3709
diff changeset
75 gtk_box_pack_start(GTK_BOX(fbox), logo, FALSE, FALSE, 0);
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
76
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
77 sw = gtk_scrolled_window_new(NULL, NULL);
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
78 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw),
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
79 GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
4197
1817f5d16e83 [gaim-migrate @ 4428]
Luke Schierer <lschiere@pidgin.im>
parents: 4162
diff changeset
80 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
81 gtk_box_pack_start(GTK_BOX(fbox), sw, TRUE, TRUE, 0);
3709
03e58c078917 [gaim-migrate @ 3842]
Luke Schierer <lschiere@pidgin.im>
parents: 3630
diff changeset
82
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
83 text = gtk_imhtml_new(NULL, NULL);
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
84 gtk_container_add(GTK_CONTAINER(sw), text);
4197
1817f5d16e83 [gaim-migrate @ 4428]
Luke Schierer <lschiere@pidgin.im>
parents: 4162
diff changeset
85 gtk_widget_set_size_request(sw, -1, 350);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
86 gaim_setup_imhtml(text);
2950
b5033087c748 [gaim-migrate @ 2963]
Rob Flynn <gaim@robflynn.com>
parents: 2949
diff changeset
87
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
88 gtk_imhtml_append_text(GTK_IMHTML(text),
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
89 _("Gaim is a modular Instant Messaging client capable of "
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
90 "using AIM, ICQ, Yahoo!, MSN, IRC, Jabber, Napster, "
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
91 "Zephyr, and Gadu-Gadu all at once. It is written using "
4054
e2d8ac05871f [gaim-migrate @ 4264]
Luke Schierer <lschiere@pidgin.im>
parents: 4006
diff changeset
92 "Gtk+ and is licensed under the GPL.<BR><BR>"), -1, GTK_IMHTML_NO_SCROLL);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
93
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
94 gtk_imhtml_append_text(GTK_IMHTML(text),
6371
8f94cce8faa5 [gaim-migrate @ 6876]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
95 "<FONT SIZE=\"3\">URL:</FONT> <A HREF=\"" GAIM_WEBSITE "\">"
8f94cce8faa5 [gaim-migrate @ 6876]
Christian Hammond <chipx86@chipx86.com>
parents: 5872
diff changeset
96 GAIM_WEBSITE "</A><BR><BR>", -1, GTK_IMHTML_NO_SCROLL);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
97
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
98 gtk_imhtml_append_text(GTK_IMHTML(text),
4160
fcc6db86f5c7 [gaim-migrate @ 4389]
Luke Schierer <lschiere@pidgin.im>
parents: 4157
diff changeset
99 _("<FONT SIZE=\"3\">IRC:</FONT> #gaim on irc.freenode.net"
fcc6db86f5c7 [gaim-migrate @ 4389]
Luke Schierer <lschiere@pidgin.im>
parents: 4157
diff changeset
100 "<BR><BR>"), -1, GTK_IMHTML_NO_SCROLL);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
101
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
102 /* Active Developers */
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
103 str = g_strconcat(
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
104 "<FONT SIZE=\"3\">", _("Active Developers"), ":</FONT><BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
105 " Rob Flynn (", _("maintainer"), ") "
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
106 "&lt;<A HREF=\"mailto:rob@marko.net\">rob@marko.net</A>&gt;<BR>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
107 " Sean Egan (", _("lead developer"), ") "
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
108 "&lt;<A HREF=\"mailto:bj91704@binghamton.edu\">"
4992
e2047cd770d6 [gaim-migrate @ 5327]
Rob Flynn <gaim@robflynn.com>
parents: 4990
diff changeset
109 "bj91704@binghamton.edu</A>&gt;<BR>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
110 " Christian 'ChipX86' Hammond (", _("developer & webmaster"), ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
111 " Herman Bloggs (", _("win32 port"), ") "
4990
f514aa3c01db [gaim-migrate @ 5325]
Rob Flynn <gaim@robflynn.com>
parents: 4635
diff changeset
112 "&lt;<A HREF=\"mailto:hermanator12002@yahoo.com\">"
f514aa3c01db [gaim-migrate @ 5325]
Rob Flynn <gaim@robflynn.com>
parents: 4635
diff changeset
113 "hermanator12002@yahoo.com</A>&gt;<BR>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
114 " Nathan 'faceprint' Walp (", _("developer"), ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
115 " Mark 'KingAnt' Doliner (", _("developer"), ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
116 " Luke 'LSchiere' Schierer (", _("support"), ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
117 "<BR>", NULL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
118 gtk_imhtml_append_text(GTK_IMHTML(text), str, -1, GTK_IMHTML_NO_SCROLL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
119 g_free(str);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
120
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
121 /* Crazy Patch Writers */
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
122 str = g_strconcat(
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
123 "<FONT SIZE=\"3\">", _("Crazy Patch Writers"), ":</FONT><BR>"
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
124 " Benjamin Miller<BR>"
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
125 " Decklin Foster<BR>"
4990
f514aa3c01db [gaim-migrate @ 5325]
Rob Flynn <gaim@robflynn.com>
parents: 4635
diff changeset
126 " Etan 'deryni' Reisner<BR>"
f514aa3c01db [gaim-migrate @ 5325]
Rob Flynn <gaim@robflynn.com>
parents: 4635
diff changeset
127 " Ethan 'Paco-Paco' Blanton<br>"
f514aa3c01db [gaim-migrate @ 5325]
Rob Flynn <gaim@robflynn.com>
parents: 4635
diff changeset
128 " Robert 'Robot101' McQueen<BR>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
129 "<BR>", NULL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
130 gtk_imhtml_append_text(GTK_IMHTML(text), str, -1, GTK_IMHTML_NO_SCROLL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
131 g_free(str);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
132
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
133 /* Retired Developers */
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
134 str = g_strconcat(
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
135 "<FONT SIZE=\"3\">", _("Retired Developers"), ":</FONT><BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
136 " Adam Fritzler (", _("former libfaim maintainer"), ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
137 " Eric Warmenhoven (", _("former lead developer"), ") "
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
138 "&lt;<A HREF=\"mailto:warmenhoven@yahoo.com\">"
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
139 "warmenhoven@yahoo.com</A>&gt;<BR>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
140 " Jim Duchek (", _("former maintainer"), ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
141 " Jim Seymour (", _("former Jabber developer"), ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
142 " Mark Spencer (", _("original author"), ") "
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
143 "&lt;<A HREF=\"mailto:markster@marko.net\">"
4992
e2047cd770d6 [gaim-migrate @ 5327]
Rob Flynn <gaim@robflynn.com>
parents: 4990
diff changeset
144 "markster@marko.net</A>&gt;<BR>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
145 " Syd Logan (", _("hacker and designated driver [lazy bum]"),
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
146 ")<BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
147 "<BR>", NULL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
148 gtk_imhtml_append_text(GTK_IMHTML(text), str, -1, GTK_IMHTML_NO_SCROLL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
149 g_free(str);
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
150
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
151 /* Current Translators */
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
152 str = g_strconcat(
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
153 "<FONT SIZE=\"3\">", _("Current Translators"), ":</FONT><BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
154 " <b>", _("Catalan"), " (ca)</b> - Robert Millan &lt;<a href=\"mailto: zeratul2@wanadoo.es\">zeratul2@wanadoo.es</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
155 " <b>", _("Czech"), " (cs)</b> - Miloslav Trmac &lt;<a href=\"mailto: mitr@volny.cz\">mitr@volny.cz</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
156 " <b>", _("Danish"), " (da)</b> - Morten Brix Pedersen &lt;<a href=\"mailto: morten@wtf.dk\">morten@wtf.dk</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
157 " <b>", _("German"), " (de)</b> - Björn Voigt &lt;<a href=\"mailto: bjoern@cs.tu-berlin.de\">bjoern@cs.tu-berlin.de</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
158 " <b>", _("Spanish"), " (es)</b> - Javier Fernández-Sanguino Peña &lt;<a href=\"mailto: jfs@debian.org\">jfs@debian.org</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
159 " <b>", _("French"), " (fr)</b> - Éric Boumaour &lt;<a href=\"mailto: zongo_fr@users.sourceforge.net\">zongo_fr@users.sourceforge.net</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
160 " <b>", _("Hindi"), " (hi)</b> - Guntupalli Karunakar &lt;<a href=\"mailto: karunakar@freedomink.org\">karunakar@freedomink.org</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
161 " <b>", _("Hungarian"), " (hu)</b> - Zoltan Sutto &lt;<a href=\"mailto: suttozoltan@chello.hu\">suttozoltan@chello.hu</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
162 " <b>", _("Italian"), " (it)</b> - Claudio Satriano &lt;<a href=\"mailto: satriano@na.infn.it\">satriano@na.infn.it</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
163 " <b>", _("Korean"), " (ko)</b> - Kyung-uk Son &lt;<a href=\"mailto: vvs740@chol.com\">vvs740@chol.com</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
164 " <b>", _("Dutch; Flemish"), " (nl)</b> - Vincent van Adrighem &lt;<a href=\"mailto: V.vanAdrighem@dirck.mine.nu\">V.vanAdrighem@dirck.mine.nu</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
165 " <b>", _("Portuguese-Brazil"), " (pt_BR)</b> - Maurício de Lemos Rodrigues Collares Neto &lt;<a href=\"mailto: mauricioc@myrealbox.com\">mauricioc@myrealbox.com</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
166 " <b>", _("Romanian"), " (ro)</b> - Mişu Moldovan &lt;<a href=\"mailto: dumol@go.ro\">dumol@go.ro</a>&gt;<br>"
6659
d5b6681b2155 [gaim-migrate @ 7184]
Luke Schierer <lschiere@pidgin.im>
parents: 6656
diff changeset
167 " <b>", _("Serbian"), " (sr)</b> - Danilo Šegan &lt;<a href=\"mailto: dsegan@gmx.net\">dsegan@gmx.net</a>&gt;, Aleksandar Urosevic &lt;<a href=\"mailto: urke@users.sourceforge.net\">urke@users.sourceforge.net</a>&gt;<br>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
168 " <b>", _("Swedish"), " (sv)</b> - Tore Lundqvist &lt;<a href=\"mailto: tlt@mima.x.se\">tlt@mima.x.se</a>&gt;<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
169 " <b>", _("Simplified Chinese"), " (zh_CN)</b> - Funda Wang &lt;<a href=\"mailto: fundawang@linux.net.cn\">fundawang@linux.net.cn</a>&gt;<br>"
6675
eb4bdcc942c0 [gaim-migrate @ 7200]
Luke Schierer <lschiere@pidgin.im>
parents: 6659
diff changeset
170 " <b>", _("Traditional Chinese"), " (zh_TW)</b> - Ambrose C. Li &lt;<a href=\"mailto: acli@ada.dhs.org\">acli@ada.dhs.org</a>&gt;, Paladin R. Liu &lt;<a href=\"mailto: paladin@ms1.hinet.net\">paladin@ms1.hinet.net</a>&gt;<br>"
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
171 "<BR>", NULL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
172 gtk_imhtml_append_text(GTK_IMHTML(text), str, -1, GTK_IMHTML_NO_SCROLL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
173 g_free(str);
6546
e34907332e46 [gaim-migrate @ 7068]
Mark Doliner <mark@kingant.net>
parents: 6371
diff changeset
174
6631
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
175 /* Past Translators */
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
176 str = g_strconcat(
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
177 "<FONT SIZE=\"3\">", _("Past Translators"), ":</FONT><BR>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
178 " <b>", _("Amharic"), " (am)</b> - Daniel Yacob<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
179 " <b>", _("Bulgarian"), " (bg)</b> - Hristo Todorov<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
180 " <b>", _("Catalan"), " (ca)</b> - JM Pérez Cáncer<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
181 " <b>", _("Czech"), " (cs)</b> - Honza Král<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
182 " <b>", _("German"), " (de)</b> - Daniel Seifert, Karsten Weiss<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
183 " <b>", _("Spanish"), " (es)</b> - Amaya Rodrigo, Alejandro G Villar, Nicolás Lichtmaier, JM Pérez Cáncer<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
184 " <b>", _("French"), " (fr)</b> - sebfrance, Stéphane Pontier, Stéphane Wirtel, Loïc Jeannin<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
185 " <b>", _("Hebrew"), " (he)</b> - Pavel Bibergal<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
186 " <b>", _("Italian"), " (it)</b> - Salvatore di Maggio<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
187 " <b>", _("Japanese"), " (ja)</b> - Ryosuke Kutsuna, Taku Yasui, Junichi Uekawa<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
188 " <b>", _("Korean"), " (ko)</b> - Sang-hyun S, A Ho-seok Lee<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
189 " <b>", _("Norwegian"), " (no)</b> - Petter Johan Olsen<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
190 " <b>", _("Polish"), " (pl)</b> - Przemysław Sułek<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
191 " <b>", _("Russian"), " (ru)</b> - Sergey Volozhanin<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
192 " <b>", _("Slovak"), " (sk)</b> - Daniel Režný<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
193 " <b>", _("Swedish"), " (sv)</b> - Christian Rose<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
194 " <b>", _("Chinese"), " (zh_CN, zh_TW)</b> - Hashao, Rocky S. Lee<br>"
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
195 "<BR>", NULL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
196 gtk_imhtml_append_text(GTK_IMHTML(text), str, -1, GTK_IMHTML_NO_SCROLL);
f80e23e66de0 [gaim-migrate @ 7155]
Mark Doliner <mark@kingant.net>
parents: 6628
diff changeset
197 g_free(str);
6546
e34907332e46 [gaim-migrate @ 7068]
Mark Doliner <mark@kingant.net>
parents: 6371
diff changeset
198
4006
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
199 gtk_adjustment_set_value(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(sw)), 0);
d3812895af8d [gaim-migrate @ 4206]
Sean Egan <seanegan@gmail.com>
parents: 3724
diff changeset
200
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
201 /* Close Button */
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
202
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
203 hbox = gtk_hbox_new(FALSE, 5);
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
204 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
2450
59bac9b1a716 [gaim-migrate @ 2463]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2434
diff changeset
205 gtk_widget_show(hbox);
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
206
3709
03e58c078917 [gaim-migrate @ 3842]
Luke Schierer <lschiere@pidgin.im>
parents: 3630
diff changeset
207 button = gaim_pixbuf_button_from_stock(_("Close"), GTK_STOCK_CLOSE, GAIM_BUTTON_HORIZONTAL);
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
208 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 0);
622
7f8b85e2e894 [gaim-migrate @ 632]
Rob Flynn <gaim@robflynn.com>
parents: 619
diff changeset
209
4162
d3c8d2b40494 [gaim-migrate @ 4391]
Christian Hammond <chipx86@chipx86.com>
parents: 4160
diff changeset
210 g_signal_connect_swapped(G_OBJECT(button), "clicked",
d3c8d2b40494 [gaim-migrate @ 4391]
Christian Hammond <chipx86@chipx86.com>
parents: 4160
diff changeset
211 G_CALLBACK(destroy_about), G_OBJECT(about));
d3c8d2b40494 [gaim-migrate @ 4391]
Christian Hammond <chipx86@chipx86.com>
parents: 4160
diff changeset
212 g_signal_connect(G_OBJECT(about), "destroy",
d3c8d2b40494 [gaim-migrate @ 4391]
Christian Hammond <chipx86@chipx86.com>
parents: 4160
diff changeset
213 G_CALLBACK(destroy_about), G_OBJECT(about));
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
214
1250
b5783215b245 [gaim-migrate @ 1260]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1233
diff changeset
215 /* this makes the sizes not work. */
1976
24aed1c31342 [gaim-migrate @ 1986]
Rob Flynn <gaim@robflynn.com>
parents: 1972
diff changeset
216 /* GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); */
24aed1c31342 [gaim-migrate @ 1986]
Rob Flynn <gaim@robflynn.com>
parents: 1972
diff changeset
217 /* gtk_widget_grab_default(button); */
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
218
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
219 }
1210
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
220
265abea9db72 [gaim-migrate @ 1220]
Rob Flynn <gaim@robflynn.com>
parents: 1207
diff changeset
221 /* Let's give'em something to talk about -- woah woah woah */
5024
8e55a4d362a3 [gaim-migrate @ 5361]
Sean Egan <seanegan@gmail.com>
parents: 4992
diff changeset
222 gtk_widget_show_all(about);
4157
9c31ddae80a1 [gaim-migrate @ 4385]
Rob Flynn <gaim@robflynn.com>
parents: 4082
diff changeset
223 gtk_window_present(GTK_WINDOW(about));
1205
7bdb54311828 [gaim-migrate @ 1215]
Rob Flynn <gaim@robflynn.com>
parents: 1142
diff changeset
224 }