From 6779b14b2671ba37b81d06871add90eae34f578f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 30 Jul 2016 22:58:34 +0200 Subject: cpufreq: use GtkAbout and update copyright --- cpufreq/src/cpufreq-applet.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cpufreq/src') 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 #include #include -#include #include #include @@ -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 ", 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, -- cgit v1.2.1