[gnome-power-manager] Ensure the preferences menu item launches the control center. Fixes rh#619231



commit 130740daf11f0a0f07bbe0db24d94e447b8a18f6
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jul 29 09:13:16 2010 +0200

    Ensure the preferences menu item launches the control center. Fixes rh#619231

 src/gpm-tray-icon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index 987acc1..46ded9e 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -162,7 +162,7 @@ gpm_tray_icon_show_info_cb (GtkMenuItem *item, gpointer data)
 static void
 gpm_tray_icon_show_preferences_cb (GtkMenuItem *item, gpointer data)
 {
-	const gchar *command = "gnome-power-preferences";
+	const gchar *command = "gnome-control-center power";
 
 	if (g_spawn_command_line_async (command, NULL) == FALSE)
 		egg_warning ("Couldn't execute command: %s", command);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]