summaryrefslogtreecommitdiff
path: root/mateweather/src/mateweather-about.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-02 10:19:16 +0100
committerraveit65 <[email protected]>2020-12-13 16:20:04 +0100
commit1f964c265a0f45c064d312dcd51f985e877cbc55 (patch)
treee7520456bc97ba82c19fdbbd9f5fd69807919069 /mateweather/src/mateweather-about.c
parentfbca7353191c20b3ce70fe2390491305ba3968fa (diff)
downloadmate-applets-1f964c265a0f45c064d312dcd51f985e877cbc55.tar.bz2
mate-applets-1f964c265a0f45c064d312dcd51f985e877cbc55.tar.xz
mateweather: Use common subdirs - src, data
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);
+}