Blob Blame History Raw
From 8c5f8785c04f3725434a339615a4b2803e470315 Mon Sep 17 00:00:00 2001
From: Stephan Haller <nomad@froevel.de>
Date: Mon, 23 Mar 2015 07:27:23 +0100
Subject: [PATCH] Do not throw error message (but a warning message) if neither
 the requested icon nor the fallback icon can be loaded even if xfdashboard
 will look more ugly than usual ;)

That should fix some crashes seen at systems running Fedora.
---
 xfdashboard/image-content.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfdashboard/image-content.c b/xfdashboard/image-content.c
index 60489c5..53b0a2b 100644
--- a/xfdashboard/image-content.c
+++ b/xfdashboard/image-content.c
@@ -594,7 +594,7 @@ static void _xfdashboard_image_content_load_from_icon_name(XfdashboardImageConte
 	/* If we still got no icon info then we cannot load icon at all */
 	if(!iconInfo)
 	{
-		g_error(_("Could not lookup fallback icon for icon '%s'"), priv->iconName);
+		g_warning(_("Could not lookup fallback icon '%s' for icon '%s'"), XFDASHBOARD_IMAGE_CONTENT_FALLBACK_ICON_NAME, priv->iconName);
 		return;
 	}
 
-- 
2.3.3