Blob Blame History Raw
--- gnome-applets-2.15.1.1/cpufreq/src/cpufreq-utils.c.cpufreq	2006-06-19 08:40:36.000000000 -0400
+++ gnome-applets-2.15.1.1/cpufreq/src/cpufreq-utils.c	2006-06-19 08:40:47.000000000 -0400
@@ -105,6 +105,8 @@
 	if (!path)
 		return FALSE;
 
+	return TRUE;
+
 	if (geteuid () == 0)
 		return TRUE;
 
--- gnome-applets-2.15.1.1/cpufreq/src/cpufreq-popup.c.cpufreq	2006-06-15 01:01:54.000000000 -0400
+++ gnome-applets-2.15.1.1/cpufreq/src/cpufreq-popup.c	2006-06-19 08:43:05.000000000 -0400
@@ -246,19 +246,13 @@
 cpufreq_popup_run_selector (CPUFreqPopup *popup,
 			    const gchar  *params)
 {
-	gchar  *path;
 	guint   cpu;
 	gchar  *command;
 	GError *error = NULL;
 
-	path = g_find_program_in_path ("cpufreq-selector");
-
-	if (!path)
-		return;
-
 	cpu = cpufreq_prefs_get_cpu (popup->priv->prefs);
 
-	command = g_strdup_printf ("%s -c %d %s", path, cpu, params);
+	command = g_strdup_printf ("/usr/bin/cpufreq-selector -c %d %s", cpu, params);
 
 	g_spawn_command_line_async (command, &error);
 	g_free (command);