From f711ac736b6037af3947de3baef10c6ce4bfb135 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 30 Jul 2016 23:45:34 +0200 Subject: multiload: use GtkAbout and update copyright --- multiload/main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'multiload') diff --git a/multiload/main.c b/multiload/main.c index 4a33eae4..673c2f4a 100644 --- a/multiload/main.c +++ b/multiload/main.c @@ -27,7 +27,6 @@ #include #include -#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) @@ -48,6 +47,10 @@ about_cb (GtkAction *action, NULL }; + char copyright[] = \ + "Copyright \xc2\xa9 2012-2016 MATE developers\n" + "Copyright \xc2\xa9 1999-2005 Free Software Foundation and others"; + const gchar * const documenters[] = { "Chee Bin HOH ", @@ -55,10 +58,9 @@ about_cb (GtkAction *action, NULL }; - mate_show_about_dialog (NULL, + gtk_show_about_dialog (NULL, "version", VERSION, - "copyright", "\xC2\xA9 1999-2005 Free Software Foundation " - "and others", + "copyright", copyright, "comments", _("A system load monitor capable of displaying graphs " "for CPU, ram, and swap space use, plus network " "traffic."), -- cgit v1.2.1