linux about: Show when we're an xdg-app

This commit is contained in:
Hylke Bons 2016-04-11 06:48:33 -07:00
parent 903778e71c
commit 8d582b2bc3
3 changed files with 6 additions and 2 deletions

View file

@ -16,6 +16,8 @@
using System;
using Sparkles;
using Gtk;
namespace SparkleShare {
@ -102,6 +104,9 @@ namespace SparkleShare {
Xalign = 0, Xpad = 0
};
if (InstallationInfo.Directory.Equals ("/app"))
version.Text += " (xdg-app)";
version.StyleContext.AddProvider (label_css_provider, 800);
updates = new Label ("Checking for updates…") {

View file

@ -15,7 +15,6 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
using System.Collections.Generic;
using System.Drawing;

View file

@ -131,7 +131,7 @@ echo "
SparkleShare ${VERSION}
Configuration:
Prefix : ${prefix}
Prefix: ${prefix}
"