From 8495b09237e2dc9f41e5e8ad4624a6669f7416bc Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 30 Jul 2016 22:05:58 +0200 Subject: battstat: drop MateAbout usage and update copyright --- battstat/battstat_applet.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'battstat/battstat_applet.c') diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c index a14bfe71..84d59af3 100644 --- a/battstat/battstat_applet.c +++ b/battstat/battstat_applet.c @@ -44,8 +44,6 @@ #include #endif -#include - #include "battstat.h" #include "pixmaps.h" @@ -1190,6 +1188,11 @@ about_cb( GtkAction *action, ProgressData *battstat ) NULL }; + char copyright[] = \ + "Copyright \xc2\xa9 2012-2016 MATE developers\n" + "Copyright \xc2\xa9 2002-2005 Free Software Foundation and others\n" + "Copyright \xc2\xa9 2000 The Gnulix Society"; + const gchar *documenters[] = { "J\xC3\xB6rgen Pehrson ", "Trevor Curtis ", @@ -1203,11 +1206,9 @@ about_cb( GtkAction *action, ProgressData *battstat ) /* true */ _("upower backend enabled.") : /* false */ _("Legacy backend enabled.")); - mate_show_about_dialog( NULL, + gtk_show_about_dialog( NULL, "version", VERSION, - "copyright", "\xC2\xA9 2000 The Gnulix Society, " - "\xC2\xA9 2002-2005 Free Software Foundation and " - "others", + "copyright", copyright, "comments", comments, "authors", authors, "documenters", documenters, -- cgit v1.2.1