summaryrefslogtreecommitdiff
path: root/accessx-status/applet.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-30 21:48:36 +0200
committerraveit65 <[email protected]>2016-07-31 09:32:45 +0200
commit67857d1b70045637a3cc73ae5ab8d918e430a4ad (patch)
tree3eb19e89193585ec5ddd4cd3187522b88c137158 /accessx-status/applet.c
parenta16f3e9260c5c2da95e6742decfd3ce2be45ed64 (diff)
downloadmate-applets-67857d1b70045637a3cc73ae5ab8d918e430a4ad.tar.bz2
mate-applets-67857d1b70045637a3cc73ae5ab8d918e430a4ad.tar.xz
accessx-status: use GtkAbout and update copyright
Diffstat (limited to 'accessx-status/applet.c')
-rw-r--r--accessx-status/applet.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index ed6117e0..65d1a74b 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -38,7 +38,6 @@
#include <X11/keysymdef.h>
#include "applet.h"
-#include <libmate-desktop/mate-aboutdialog.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
@@ -139,10 +138,14 @@ static void about_cb(GtkAction* action, AccessxStatusApplet* sapplet)
NULL
};
- mate_show_about_dialog(NULL,
+ char copyright[] = \
+ "Copyright \xc2\xa9 2012-2016 MATE developers\n"
+ "Copyright \xc2\xa9 2003 Sun Microsystems";
+
+ gtk_show_about_dialog(NULL,
"version", VERSION,
"comments", _("Shows the state of AccessX features such as latched modifiers"),
- "copyright", "\xC2\xA9 2003 Sun Microsystems",
+ "copyright", copyright,
"authors", authors,
"documenters", documenters,
"translator-credits", _("translator-credits"),