gnome-power-manager r3047 - in branches/gnome-2-24: . src



Author: vuntz
Date: Fri Oct 31 14:57:34 2008
New Revision: 3047
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3047&view=rev

Log:
2008-10-31  Vincent Untz  <vuntz gnome org>

	* src/gpm-prefs-core.c: (gpk_prefs_setup_policykit): use the right
	PolicyKit action to setup the "Make defaults" button. The button was
	always insensitive.
	Fix bug #558670.


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/gpm-prefs-core.c

Modified: branches/gnome-2-24/src/gpm-prefs-core.c
==============================================================================
--- branches/gnome-2-24/src/gpm-prefs-core.c	(original)
+++ branches/gnome-2-24/src/gpm-prefs-core.c	Fri Oct 31 14:57:34 2008
@@ -1042,7 +1042,7 @@
 
 	/* set default */
 	pk_action = polkit_action_new ();
-	polkit_action_set_action_id (pk_action, "org.freedesktop.packagekit.set-defaults");
+	polkit_action_set_action_id (pk_action, "org.gnome.gconf.defaults.set-system");
 	prefs->priv->default_action = polkit_gnome_action_new_default ("set-defaults", pk_action,
 								       _("Make Default"), NULL);
 	g_object_set (prefs->priv->default_action,



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