gnome-panel r11151 - trunk/applets/wncklet



Author: lferrett
Date: Fri Jun 27 10:00:28 2008
New Revision: 11151
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11151&view=rev

Log:
2008-06-27  Luca Ferretti  <elle uca libero it>

	* GNOME_Wncklet_Factory.server.in.in:
	* showdesktop.c: (update_icon), (display_about_dialog):
	Use "user-desktop" icon from fd.o naming spec instead deprecated
	"gnome-fs-desktop".



Modified:
   trunk/applets/wncklet/ChangeLog
   trunk/applets/wncklet/GNOME_Wncklet_Factory.server.in.in
   trunk/applets/wncklet/showdesktop.c

Modified: trunk/applets/wncklet/GNOME_Wncklet_Factory.server.in.in
==============================================================================
--- trunk/applets/wncklet/GNOME_Wncklet_Factory.server.in.in	(original)
+++ trunk/applets/wncklet/GNOME_Wncklet_Factory.server.in.in	Fri Jun 27 10:00:28 2008
@@ -122,7 +122,7 @@
 	</oaf_attribute>
 	<oaf_attribute name="name" type="string" _value="Show Desktop"/>
 	<oaf_attribute name="description" type="string" _value="Hide application windows and show the desktop"/>
-	<oaf_attribute name="panel:icon" type="string" value="gnome-fs-desktop.png"/>
+	<oaf_attribute name="panel:icon" type="string" value="user-desktop"/>
 	<oaf_attribute name="bugzilla:bugzilla" type="string" value="GNOME"/>
 	<oaf_attribute name="bugzilla:product" type="string" value="gnome-panel"/>
 	<oaf_attribute name="bugzilla:component" type="string" value="Show Desktop Button"/>

Modified: trunk/applets/wncklet/showdesktop.c
==============================================================================
--- trunk/applets/wncklet/showdesktop.c	(original)
+++ trunk/applets/wncklet/showdesktop.c	Fri Jun 27 10:00:28 2008
@@ -176,11 +176,11 @@
 
 	error = NULL;
 	icon = gtk_icon_theme_load_icon (sdd->icon_theme,
-					 "gnome-fs-desktop",
+					 "user-desktop",
 					 icon_size, 0, &error);
 
 	if (icon == NULL) {
-		g_printerr (_("Failed to load %s: %s\n"), "gnome-fs-desktop",
+		g_printerr (_("Failed to load %s: %s\n"), "user-desktop",
 			    error ? error->message : _("Icon not found"));
 		if (error) {
 			g_error_free (error);
@@ -539,7 +539,7 @@
 			       authors,
 			       documenters,
 			       translator_credits,
-			       "gnome-fs-desktop",
+			       "user-desktop",
 			       "show-desktop",
 			       "show-desktop");
 }



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