diff --git a/SparkleShare/Linux/UserInterface.cs b/SparkleShare/Linux/UserInterface.cs index 773a342e..d1eb32d8 100644 --- a/SparkleShare/Linux/UserInterface.cs +++ b/SparkleShare/Linux/UserInterface.cs @@ -16,6 +16,7 @@ using System; +using System.IO; using System.Reflection; using Gtk; @@ -52,6 +53,8 @@ namespace SparkleShare application.Register (null); application.Activated += ApplicationActivatedDelegate; + IconTheme.Default.AppendSearchPath (Path.Combine (UserInterface.AssetsPath, "icons")); + var label = new Label (); Gdk.Color color = UserInterfaceHelpers.RGBAToColor (label.StyleContext.GetColor (StateFlags.Insensitive)); SecondaryTextColor = UserInterfaceHelpers.ColorToHex (color); diff --git a/SparkleShare/Linux/UserInterfaceHelpers.cs b/SparkleShare/Linux/UserInterfaceHelpers.cs index aa08fa52..648bfbd4 100755 --- a/SparkleShare/Linux/UserInterfaceHelpers.cs +++ b/SparkleShare/Linux/UserInterfaceHelpers.cs @@ -27,7 +27,7 @@ namespace SparkleShare { public static Gdk.Pixbuf GetIcon (string name, int size) { IconTheme icon_theme = new IconTheme (); - icon_theme.AppendSearchPath (Path.Combine (UserInterface.AssetsPath, "icons")); + icon_theme.AppendSearchPath (Path.Combine (UserInterface.AssetsPath, "icons")); foreach (string search_path in IconTheme.Default.SearchPath) icon_theme.AppendSearchPath (search_path);