diff options
Diffstat (limited to 'cpufreq/src')
-rw-r--r-- | cpufreq/src/Makefile.am | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-applet.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/cpufreq/src/Makefile.am b/cpufreq/src/Makefile.am index a30d3513..0d7abefd 100644 --- a/cpufreq/src/Makefile.am +++ b/cpufreq/src/Makefile.am @@ -7,6 +7,7 @@ SUBDIRS = $(selector_SUBDIR) AM_CPPFLAGS = \ -DCPUFREQ_MENU_UI_DIR=\""$(datadir)/mate-2.0/ui"\" \ $(MATE_APPLETS4_CFLAGS) \ + $(MATEDESKTOP_CFLAGS) \ $(LIBGLADE_CFLAGS) \ $(DBUS_CFLAGS) @@ -31,6 +32,7 @@ mate_cpufreq_applet_SOURCES = \ mate_cpufreq_applet_LDADD = \ $(MATE_APPLETS4_LIBS) \ + $(MATEDESKTOP_LIBS) \ $(LIBGLADE_LIBS) \ $(LIBCPUFREQ_LIBS) \ $(DBUS_LIBS) diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c index b066c919..aaa4ae4e 100644 --- a/cpufreq/src/cpufreq-applet.c +++ b/cpufreq/src/cpufreq-applet.c @@ -32,6 +32,7 @@ #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> @@ -686,7 +687,7 @@ cpufreq_applet_about_cb (GtkAction *action, NULL }; - gtk_show_about_dialog (NULL, + mate_show_about_dialog (NULL, "version", VERSION, "copyright", "\xC2\xA9 2004 Carlos Garcia Campos", "comments", _("This utility shows the current CPU " |