linux: Fix icon lookup

This commit is contained in:
Hylke Bons 2012-08-26 17:58:32 +01:00
parent a270fa1976
commit b67eca371e

View file

@ -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 {