gnome-power-manager r3280 - in trunk: . src



Author: rhughes
Date: Mon Feb 16 18:35:58 2009
New Revision: 3280
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3280&view=rev

Log:
2009-02-16  Richard Hughes  <richard hughsie com>

* src/gpm-prefs-core.c: (gpk_prefs_setup_policykit):
Remove the icon from the 'Set default' button in the prefs UI.
Fixes #571950


Modified:
   trunk/ChangeLog
   trunk/src/gpm-prefs-core.c

Modified: trunk/src/gpm-prefs-core.c
==============================================================================
--- trunk/src/gpm-prefs-core.c	(original)
+++ trunk/src/gpm-prefs-core.c	Mon Feb 16 18:35:58 2009
@@ -1014,12 +1014,6 @@
 	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,
-		      "no-icon-name", GTK_STOCK_FLOPPY,
-		      "auth-icon-name", GTK_STOCK_FLOPPY,
-		      "yes-icon-name", GTK_STOCK_FLOPPY,
-		      "self-blocked-icon-name", GTK_STOCK_FLOPPY,
-		      NULL);
 	polkit_action_unref (pk_action);
 }
 #endif



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