linux about: Show when we're an xdg-app
This commit is contained in:
parent
903778e71c
commit
8d582b2bc3
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
using Sparkles;
|
||||||
using Gtk;
|
using Gtk;
|
||||||
|
|
||||||
namespace SparkleShare {
|
namespace SparkleShare {
|
||||||
|
@ -102,6 +104,9 @@ namespace SparkleShare {
|
||||||
Xalign = 0, Xpad = 0
|
Xalign = 0, Xpad = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (InstallationInfo.Directory.Equals ("/app"))
|
||||||
|
version.Text += " (xdg-app)";
|
||||||
|
|
||||||
version.StyleContext.AddProvider (label_css_provider, 800);
|
version.StyleContext.AddProvider (label_css_provider, 800);
|
||||||
|
|
||||||
updates = new Label ("Checking for updates…") {
|
updates = new Label ("Checking for updates…") {
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue