summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-30 23:28:41 +0200
committerraveit65 <[email protected]>2016-07-31 11:50:00 +0200
commit2303c1325e34d887314444e59741882344b0b7cd (patch)
treef50c2cbf43c129015dd88b6685b23ee9e2983d5b
parent2459f0a14348239f145eb79e2b55079c3b4aff5b (diff)
downloadmate-applets-2303c1325e34d887314444e59741882344b0b7cd.tar.bz2
mate-applets-2303c1325e34d887314444e59741882344b0b7cd.tar.xz
geyes: use GtkAbout and update copyright
-rw-r--r--geyes/geyes.c29
1 files changed, 16 insertions, 13 deletions
diff --git a/geyes/geyes.c b/geyes/geyes.c
index 0f2a9d20..2c7267cd 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -20,7 +20,6 @@
#include <config.h>
#include <math.h>
#include <stdlib.h>
-#include <libmate-desktop/mate-aboutdialog.h>
#include <mate-panel-applet.h>
#include <mate-panel-applet-gsettings.h>
#include "geyes.h"
@@ -175,11 +174,15 @@ static void
about_cb (GtkAction *action,
EyesApplet *eyes_applet)
{
- static const gchar *authors [] = {
- "Dave Camp <[email protected]>",
- NULL
+ static const gchar *authors [] = {
+ "Dave Camp <[email protected]>",
+ NULL
};
+ char copyright[] = \
+ "Copyright \xc2\xa9 2012-2016 MATE developers\n"
+ "Copyright \xC2\xA9 1999 Dave Camp";
+
const gchar *documenters[] = {
"Arjan Scherpenisse <[email protected]>",
"Telsa Gwynne <[email protected]>",
@@ -187,15 +190,15 @@ about_cb (GtkAction *action,
NULL
};
- mate_show_about_dialog (NULL,
- "version", VERSION,
- "comments", _("A goofy set of eyes for the MATE "
- "panel. They follow your mouse."),
- "copyright", "\xC2\xA9 1999 Dave Camp",
- "authors", authors,
- "documenters", documenters,
- "translator-credits", _("translator-credits"),
- "logo-icon-name", "mate-eyes-applet",
+ gtk_show_about_dialog (NULL,
+ "version", VERSION,
+ "comments", _("A goofy set of eyes for the MATE "
+ "panel. They follow your mouse."),
+ "copyright", copyright,
+ "authors", authors,
+ "documenters", documenters,
+ "translator-credits", _("translator-credits"),
+ "logo-icon-name", "mate-eyes-applet",
NULL);
}