From 2521952812d02cd11d7a6149b75b9062919e2b7b Mon Sep 17 00:00:00 2001 From: Guy Lunardi Date: Thu, 4 Jan 2018 12:32:08 -0500 Subject: [PATCH] Changes to adjust for Flatpak seems to have broken local builds (regular packages). Also minor cosmetic fixes. --- SparkleShare/Linux/About.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SparkleShare/Linux/About.cs b/SparkleShare/Linux/About.cs index 3dbe5f06..46ae1a56 100755 --- a/SparkleShare/Linux/About.cs +++ b/SparkleShare/Linux/About.cs @@ -80,9 +80,10 @@ namespace SparkleShare { void CreateAbout () { CssProvider window_css_provider = new CssProvider (); + string image_path = InstallationInfo.Directory + "/pixmaps/about.png"; window_css_provider.LoadFromData ("window, GtkWindow {" + - " background-image: url(\"/app/share/sparkleshare/pixmaps/about.png\");" + + " background-image: url('" + image_path + "');" + " background-repeat: no-repeat;" + " background-position: left bottom;" + "}"); @@ -115,8 +116,8 @@ namespace SparkleShare { Xalign = 0, Xpad = 0 }; - var license = new Label ("SparkleShare is Open Source and you’re free to use,\n" + - "change, and share it under the GNU GPLv3") { + var license = new Label ("SparkleShare is Open Source and you’re free to\n" + + "use, change, and share it under the GNU GPLv3") { Xalign = 0, Xpad = 0 }; @@ -136,7 +137,7 @@ namespace SparkleShare { layout_vertical.PackStart (updates, false, false, 0); layout_vertical.PackStart (copyright, false, false, 6); layout_vertical.PackStart (license, false, false, 6); - layout_vertical.PackStart (links_layout, false, false, 16); + layout_vertical.PackStart (links_layout, false, false, 6); links_layout.PackStart (website_link, false, false, 0); links_layout.PackStart (credits_link, false, false, 0);