summaryrefslogtreecommitdiff
path: root/battstat
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-30 22:05:58 +0200
committerraveit65 <[email protected]>2016-07-31 10:42:52 +0200
commit8495b09237e2dc9f41e5e8ad4624a6669f7416bc (patch)
tree93cea1518488483a2ba059c6144e879c77016f42 /battstat
parent67857d1b70045637a3cc73ae5ab8d918e430a4ad (diff)
downloadmate-applets-8495b09237e2dc9f41e5e8ad4624a6669f7416bc.tar.bz2
mate-applets-8495b09237e2dc9f41e5e8ad4624a6669f7416bc.tar.xz
battstat: drop MateAbout usage and update copyright
Diffstat (limited to 'battstat')
-rw-r--r--battstat/battstat_applet.c13
1 files changed, 7 insertions, 6 deletions
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 <libnotify/notify.h>
#endif
-#include <libmate-desktop/mate-aboutdialog.h>
-
#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 <[email protected]>",
"Trevor Curtis <[email protected]>",
@@ -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,