linux: Fix icon lookup
This commit is contained in:
parent
ab6c379e46
commit
a028a0a311
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue