diff options
author | raveit65 <[email protected]> | 2016-07-30 23:45:34 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-31 11:51:08 +0200 |
commit | f711ac736b6037af3947de3baef10c6ce4bfb135 (patch) | |
tree | b4a005b1d1262734f03bba9ffaa5b284ace26da7 | |
parent | 2303c1325e34d887314444e59741882344b0b7cd (diff) | |
download | mate-applets-f711ac736b6037af3947de3baef10c6ce4bfb135.tar.bz2 mate-applets-f711ac736b6037af3947de3baef10c6ce4bfb135.tar.xz |
multiload: use GtkAbout and update copyright
-rw-r--r-- | multiload/main.c | 10 |
1 files changed, 6 insertions, 4 deletions
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 <mate-panel-applet.h> #include <mate-panel-applet-gsettings.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) @@ -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 <[email protected]>", @@ -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."), |