a0f419e
--- gnome-applets-2.17.1/cpufreq/src/cpufreq-popup.c.cpufreq	2006-12-30 21:07:55.000000000 -0500
a0f419e
+++ gnome-applets-2.17.1/cpufreq/src/cpufreq-popup.c	2007-01-10 22:06:27.000000000 -0500
a0f419e
@@ -176,19 +176,13 @@
a0f419e
 cpufreq_popup_run_selector (CPUFreqPopup *popup,
a0f419e
 			    const gchar  *params)
a0f419e
 {
a0f419e
-	gchar  *path;
a0f419e
 	guint   cpu;
a0f419e
 	gchar  *command;
a0f419e
 	GError *error = NULL;
a0f419e
 
a0f419e
-	path = g_find_program_in_path ("cpufreq-selector");
a0f419e
-
a0f419e
-	if (!path)
a0f419e
-		return;
a0f419e
-
a0f419e
 	cpu = cpufreq_monitor_get_cpu (popup->priv->monitor);
a0f419e
 
a0f419e
-	command = g_strdup_printf ("%s -c %d %s", path, cpu, params);
a0f419e
+	command = g_strdup_printf ("/usr/bin/cpufreq-selector -c %d %s", cpu, params);
a0f419e
 
a0f419e
 	g_spawn_command_line_async (command, &error);
a0f419e
 	g_free (command);
a0f419e
--- gnome-applets-2.17.1/cpufreq/src/cpufreq-utils.c.cpufreq	2006-12-30 21:07:55.000000000 -0500
a0f419e
+++ gnome-applets-2.17.1/cpufreq/src/cpufreq-utils.c	2007-01-10 22:00:22.000000000 -0500
a0f419e
@@ -109,6 +109,8 @@
a0f419e
 	if (!path)
a0f419e
 		return FALSE;
a0f419e
 
a0f419e
+	return TRUE;
a0f419e
+
a0f419e
 	if (geteuid () == 0)
a0f419e
 		return TRUE;
a0f419e