Fix icon lookup errors
This commit is contained in:
parent
2cf5d9f8e6
commit
d38268f534
|
@ -98,10 +98,12 @@ namespace SparkleShare {
|
|||
// Looks up an icon from the system's theme
|
||||
public static Gdk.Pixbuf GetIcon (string Name, int Size)
|
||||
{
|
||||
|
||||
IconTheme IconTheme = new IconTheme ();
|
||||
IconTheme.AppendSearchPath (SparklePaths.SparkleIconPath);
|
||||
IconTheme.AppendSearchPath (SparklePaths.SparkleLocalIconPath);
|
||||
return IconTheme.LoadIcon (Name, Size, IconLookupFlags.GenericFallback);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@ namespace SparkleShare {
|
|||
|
||||
public static string SparkleLocalIconPath = SparkleHelpers.CombineMore (HomePath, ".icons", "sparkleshare");
|
||||
|
||||
public static string SparkleIconPath = SparkleHelpers.CombineMore (Defines.PREFIX,
|
||||
"sparkleshare", "icons", "hicolor");
|
||||
public static string SparkleIconPath = SparkleHelpers.CombineMore (Defines.PREFIX, "share", "sparkleshare",
|
||||
"icons");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -265,6 +265,7 @@ namespace SparkleShare {
|
|||
SparkleHelpers.DebugInfo ("Git", "[" + Name + "] Fetching changes...");
|
||||
|
||||
Process.StartInfo.Arguments = "fetch -v";
|
||||
|
||||
Process.WaitForExit ();
|
||||
Process.Start ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue