From 67857d1b70045637a3cc73ae5ab8d918e430a4ad Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 30 Jul 2016 21:48:36 +0200 Subject: accessx-status: use GtkAbout and update copyright --- accessx-status/applet.c | 9 ++++++--- 1 file 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 #include "applet.h" -#include #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"), -- cgit v1.2.1