summaryrefslogtreecommitdiff
path: root/mateweather/src/mateweather-about.c
diff options
context:
space:
mode:
Diffstat (limited to 'mateweather/src/mateweather-about.c')
-rw-r--r--mateweather/src/mateweather-about.c64
1 files changed, 64 insertions, 0 deletions
diff --git a/mateweather/src/mateweather-about.c b/mateweather/src/mateweather-about.c
new file mode 100644
index 00000000..5c1389f3
--- /dev/null
+++ b/mateweather/src/mateweather-about.c
@@ -0,0 +1,64 @@
+/* $Id$ */
+
+/*
+ * Papadimitriou Spiros <[email protected]>
+ *
+ * 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 <[email protected]>",
+ "Philip Langdale <[email protected]>",
+ "Ryan Lortie <[email protected]>",
+ "Davyd Madeley <[email protected]>",
+ "Spiros Papadimitriou <[email protected]>",
+ "Kevin Vandersloot <[email protected]>",
+ NULL
+ };
+
+ const gchar* documenters[] = {
+ "Dan Mueth <[email protected]>",
+ "Spiros Papadimitriou <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
+ "Davyd Madeley <[email protected]>",
+ 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-2020 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);
+}