From dac9cf2235721d3efbb3abd6273f8355384d27b9 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 31 Jul 2016 11:34:02 +0200 Subject: mateweather: use GtkAbout and update copyright --- mateweather/mateweather-about.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mateweather/mateweather-about.c b/mateweather/mateweather-about.c index 2fb72b34..dff7896a 100644 --- a/mateweather/mateweather-about.c +++ b/mateweather/mateweather-about.c @@ -18,8 +18,6 @@ #include #include -#include - #define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE #include "mateweather.h" @@ -37,6 +35,10 @@ void mateweather_about_run(MateWeatherApplet* gw_applet) NULL }; + char copyright[] = \ + "Copyright \xc2\xa9 2012-2016 MATE developers\n" + "Copyright \xC2\xA9 1999-2005 by S. Papadimitriou and others"; + const gchar* documenters[] = { "Dan Mueth ", "Spiros Papadimitriou ", @@ -45,9 +47,9 @@ void mateweather_about_run(MateWeatherApplet* gw_applet) NULL }; - mate_show_about_dialog(NULL, + gtk_show_about_dialog(NULL, "version", VERSION, - "copyright", _("\xC2\xA9 1999-2005 by S. Papadimitriou and others"), + "copyright", copyright, "comments", _("A panel application for monitoring local weather conditions."), "authors", authors, "documenters", documenters, -- cgit v1.2.1