From b67eca371ed07865bb2c3ccdcde0ad0747106681 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 26 Aug 2012 17:58:32 +0100 Subject: [PATCH] linux: Fix icon lookup --- SparkleShare/Linux/SparkleUIHelpers.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SparkleShare/Linux/SparkleUIHelpers.cs b/SparkleShare/Linux/SparkleUIHelpers.cs index bd2596a3..f15db576 100755 --- a/SparkleShare/Linux/SparkleUIHelpers.cs +++ b/SparkleShare/Linux/SparkleUIHelpers.cs @@ -27,6 +27,10 @@ namespace SparkleShare { public static Gdk.Pixbuf GetIcon (string name, int size) { IconTheme icon_theme = new IconTheme (); + + foreach (string search_path in IconTheme.Default.SearchPath) + icon_theme.AppendSearchPath (search_path); + icon_theme.AppendSearchPath (Path.Combine (SparkleUI.AssetsPath, "icons")); try {