linux: Fix build

This commit is contained in:
Hylke Bons 2016-03-31 21:11:37 +01:00
parent 2714fb58ba
commit f4efb65025
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Name=SparkleShare
Type=Application
Exec=sh -c \"if type "sparkleshare" > /dev/null; then sparkleshare else xdg-app run org.sparkleshare.SparkleShare fi"
Exec=sh -c "type -P sparkleshare &>/dev/null && sparkleshare || xdg-app run org.sparkleshare.SparkleShare"
Icon=org.sparkleshare.SparkleShare
Terminal=false
X-GNOME-Autostart-enabled=true

View file

@ -48,7 +48,7 @@ namespace SparkleShare {
application.Register (null);
application.Activated += ApplicationActivatedDelegate;
Gdk.Color color = UserInterfaceHelpers.RGBAToColor (new Label("").StyleContext.GetColor (StateFlags.Insensitive));
Gdk.Color color = UserInterfaceHelpers.RGBAToColor (new Label().StyleContext.GetColor (StateFlags.Insensitive));
SecondaryTextColor = UserInterfaceHelpers.ColorToHex (color);
color = UserInterfaceHelpers.MixColors (