diff options
| author | raveit65 <[email protected]> | 2016-07-30 22:58:34 +0200 | 
|---|---|---|
| committer | raveit65 <[email protected]> | 2016-07-31 11:45:29 +0200 | 
| commit | 6779b14b2671ba37b81d06871add90eae34f578f (patch) | |
| tree | ae7e140f00747fc99df0bca08921e8765b67c069 | |
| parent | 93a9a673d7570645ba861b7fa065c0a3ce315c51 (diff) | |
| download | mate-applets-6779b14b2671ba37b81d06871add90eae34f578f.tar.bz2 mate-applets-6779b14b2671ba37b81d06871add90eae34f578f.tar.xz  | |
cpufreq: use GtkAbout and update copyright
| -rw-r--r-- | cpufreq/src/cpufreq-applet.c | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c index 52ecad94..2f098b9a 100644 --- a/cpufreq/src/cpufreq-applet.c +++ b/cpufreq/src/cpufreq-applet.c @@ -29,7 +29,6 @@  #include <mate-panel-applet.h>  #include <mate-panel-applet-gsettings.h>  #include <glib/gi18n.h> -#include <libmate-desktop/mate-aboutdialog.h>  #include <stdlib.h>  #include <string.h> @@ -676,6 +675,10 @@ static void  cpufreq_applet_about_cb (GtkAction     *action,                           CPUFreqApplet *applet)  { +        char copyright[] = \ +                "Copyright \xc2\xa9 2012-2016 MATE developers\n" +                "Copyright \xC2\xA9 2004 Carlos Garcia Campos"; +          static const gchar *const authors[] = {                  "Carlos Garcia Campos <[email protected]>",                  NULL @@ -690,9 +693,9 @@ cpufreq_applet_about_cb (GtkAction     *action,                  NULL          }; -        mate_show_about_dialog (NULL, +        gtk_show_about_dialog (NULL,                                 "version",       VERSION, -                               "copyright",     "\xC2\xA9 2004 Carlos Garcia Campos", +                               "copyright",     copyright,                                 "comments",      _("This utility shows the current CPU "                                                    "Frequency Scaling."),                                 "authors",       authors,  | 
