summaryrefslogtreecommitdiff
path: root/mateweather/src/mateweather-about.c
blob: 55607bbfe2a10ffaca17f5c4158d968a6f61790d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* $Id$ */

/*
 *  Papadimitriou Spiros <spapadim+@cs.cmu.edu>
 *
 *  This code released under the GNU GPL.
 *  Read the file COPYING for more information.
 *
 *  About box
 *
 */

#ifdef HAVE_CONFIG_H
	#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

#define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE

#include "mateweather.h"
#include "mateweather-about.h"

void mateweather_about_run(MateWeatherApplet* gw_applet)
{
	static const gchar* authors[] = {
		"Todd Kulesza <fflewddur@dropline.net>",
		"Philip Langdale <philipl@mail.utexas.edu>",
		"Ryan Lortie <desrt@desrt.ca>",
		"Davyd Madeley <davyd@madeley.id.au>",
		"Spiros Papadimitriou <spapadim+@cs.cmu.edu>",
		"Kevin Vandersloot <kfv101@psu.edu>",
		NULL
	};

	const gchar* documenters[] = {
		"Dan Mueth <d-mueth@uchicago.edu>",
		"Spiros Papadimitriou <spapadim+@cs.cmu.edu>",
		N_("Sun GNOME Documentation Team <gdocteam@sun.com>"),
		"Davyd Madeley <davyd@madeley.id.au>",
		N_("MATE Documentation Team"),
		NULL
	};

#ifdef ENABLE_NLS
	const char **p;
	for (p = documenters; *p; ++p)
		*p = _(*p);
#endif

	gtk_show_about_dialog(NULL,
		"title", _("About Weather Report"),
		"version", VERSION,
		"copyright", _("Copyright \xC2\xA9 1999-2005 by S. Papadimitriou and others\n"
		               "Copyright \xc2\xa9 2012-2021 MATE developers"),
		"comments", _("A panel application for monitoring local weather conditions."),
		"authors", authors,
		"documenters", documenters,
		"translator-credits", _("translator-credits"),
		"logo-icon-name", "weather-storm",
		NULL);
}